I have developed a little tool to help with Dynamic Tabular Forms....
I have created a little framework which will help people to develop dynamic actions in tabular forms.
It currently only supports text and display only but if necessary I'm willing to expand this little tool...
You can find it here: http://linuxservernico.no-ip.info:8888/JSON_Tabular_form.zip
Please let me know of what you think about it and how to improve it...
To be continued,
Nico
The problem is that APEX doesn't support dynamic actions and plugins on a tabular form (not yet).
For now my implementation is just on overloading of the apex_item implementation of apex.
Check the readme.txt for installation it isn't that hard but you need to understand the context.
Thnx for the positive response
Br,
Nico
Similar Messages
-
Help with complex Acrobat forms
Hi Everyone,
Background: I worked with another developer and completed a form for one of our clients but I need to know if the below change requests are even possible and if so if anyone would like to help with finishing the form. I am definitely willing to pay for an experts services as long as this can be done in a timely manner.
What the form is - Our client wants a form that has text fields, drop down boxes and pages where images can be placed into the file and arrows drawn on it to point where the images are located on other images (some images are store layout maps). They would like to send this file out to their store managers, have them fill it in and then they would like the completed forms sent back so all of the information that was filled in (names, store names, addresses, square footage, etc) can be gathered into a database or excel file.
What is completed so far
- Cascading drop down boxes (user clicks on first drop down and whatever is selected changes the second drop down options, etc)
- Most of the text fields for information gathering including city, state, store manager etc
- Metric unit conversion boxes
- Header text fields (read only) are used on several of the pages and are a combination of choices made in the drop down boxes and text fields.
- Page footer info including page number
- The over all layout of the pages is set
Requested changes/additions
Major must have:
- Page Addition - There is a product page in the form (page 10) and the different stores will have a different number of these products to enter into the form so is there a way to add an ADD PAGE button on the page that when pressed will copy the product page to make a new product page? Now the product page has cascading drop down form fields on it so I would want to make sure the form fields are separate iterations of the form fields not just a duplicate of what was on the product page.
- Footer adjustments - If we can do the above of adding pages then is it possible to at that point adjust the footer to reflect the page number changes? The footer shows the current page number then the form name and date.
- Gather info - What is the best way to distribute these forms so that when returned completed the information can be gathered? I tried distributing via email which seems to work ok but the files might end up being too large for email so what is the best way to gather the completed info if say the files were ftp'd back?
Minor:
There are several minor change requests that I know are doable or that if not possible we can disregard. One that I am not sure about is if the color of the arrows in Acrobat can be changed from the default red?
At first I was assuming that the Clients that get the forms needed Acrobat Standard or Pro 8 or 9 because I thought that the only way to add images was to use the Touch-Up Tool under advanced tools and right click to Place images. However I am pretty sure that if Reader Rights is enabled that images can be copy pasted into the file too if this is incorrect please let me know.
If the above is not doable or if there is a better solution other than Acrobat forms to gather client information including allow the client to add images and place arrows then please let me know your thoughts.
Any help or suggestions would be greatly appreciated and again id like to commission this out to anyone who is up for the challenge.
Thanks in advance
JasonPerhaps a better question is does anyone know a good developer?
-
Need help with Adobe Interactive Form Saving
Hi Gurus,
I need your help with Adobe Interactive form saving.
I have written the code in pre-save event to prompt a message when user didn't enter any value before saving. The form data should not be saved upon clicking save (Just prompt the message and exit form the form). Can u please advice me how to do this.
Regards,
Srinisee the link: http://forms.stefcameron.com/2008/04/
it says:
preSave: Failed validations will not prevent the form from being saved however Acrobat/Reader will issue a special warning message, after issuing the validation error message, to inform the user that the validations failed. Iu2019m guessing this is because the user may be saving the form to continue filling it at a later time so the save canu2019t be completely prevented.
regards,
BJagdishwar. -
Help with creating a form, I want to add a check box to enable me to unlock certain fields and deselect the block again
Look to the right under "More Like This". Your issue has been discussed many many times. The error you are seeing is because you do not have enough free "contiguous" space on your hard drive. Read the other threads that address this issue to find how to solve the issue.
Or, put "The disk cannot be partitioned because some files cannot be moved" into the search box at the upper right of this page. -
Is it possible to make a search help with dynamic selection table?
Hi Experts,
Is it possible to create search helps with dynamic seletion tables means
i dont know the selection table names at the time of creation of search help.
These tables will be determined at runtime.
if yes, Please give an idea how to create and pass the table names at runtime.
Thanks
Yogesh GuptaHi Yogesh,
Create and fill your itab and show it with FM F4IF_INT_TABLE_VALUE_REQUEST
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'field to return from itab'
dynpprog = sy-repid
dynpnr = sy-dynnr
dynprofield = 'field on your screen to be filled'
stepl = sy-stepl
window_title = 'some text'
value_org = 'S'
TABLES
value_tab = itab
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
Darley -
Little bit of help with the duplication process needed
Hi
I trying to duplicate a database from one server to a remote server. They are both running windows server 2003 (my first problem) , the primary server is running oracle 11gR1 and the (hopefully) receiving server is running 11gR2(is that going to be a problem?) and I'm a little stuck on some parts of the process.
The book I'm using says to edit the listener.ora file to include a SID_DESC of the remote database. Here is my listener.ora file with the modifications
LISTENER =
(DESCRIPTION_LIST =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = test.host.local)(PORT = 1521))
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
SID_LIST_LISTENER =
(SID_LIST =
(SID_DESC =
(SID_NAME = CGARDMSTR)
(ORACLE_HOME = G:\app\administrator\product\11.1.0\db_1)
(PROGRAM = extproc)
(SID_DESC =
(GLOBAL_DBNAME = CGARDMSTR)
(ORACLE_HOME =G:\app\administrator\product\11.1.0\db_1)
(SID_NAME = CGARDMSTR)
*(SID_DESC* *=*
*(GLOBAL_DBNAME* *=* cgard)
*(ORACLE_HOME* *=F:\oracle\product\11.2.0\dbhome_1)*
*(SID_NAME* *=* cgard)
(bold is what i added)
it then said to chnage my tnsnames.ora
CGARD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = test.host.local)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = cgard)
CGARD5DE =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = test.host.local)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = CGARD5DEV)
CGARDMST =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(HOST = test.host.local)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = CGARDMSTR)
cgard =
*(DESCRIPTION =*
*(ADDRESS = (PROTOCOL = TCP)(HOST = live.host.local)(PORT = 1521))*
*(CONNECT_DATA =*
*(SERVER = DEDICATED)*
*(SERVICE_NAME = cgard)*
I changed the local domain to host for business reasons
The next step was to create a initialization parameter file which I am guessing is a pfile and hopefully not a spfile. It then says to only enter one param db_name and the conversion params if the filesystem is diffrent. Problem is I don't know what to do with this file, if I am suppose to switch the second database to this file then surly I would need some more params? Anyway thats the first of many questions.
When I try to run through the rman commands it describes it also trips up:
RMAN> connect auxiliary sys/*********@live.host.local
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-04006: error from auxiliary database: ORA-12170: TNS:Connect timeout occurr
ed
The other database is up and connectable via sqldevloper so I'm guessing it was my configuration of listener and tnsnames
Ok to reiterate my questions are:
1) what needs to be in the pfile I create for the database thats going to receive the backup and what do I do with that file when I have made it?
2) I am pretty sure my listener and tsunamis config is completely wrong so can I have some pointers on fixing that?
3) Was the reason I could not connect to the receiving database my tns and listener config or is it something else?
Quite a few other questions but untill I know some more about the above I doubt I will be able to ask properly.
Also if this helps the book I am using is Expert Oracle Database 11g Administration and the page is 835(the method that begins on that page) and I am willing to write out the whole method if you need more details.
Oh and if you havent figured it out I am very new to this so if some of this sounds very wrong or just stupid just say what I need to change and I will get right on it.
Thanks
AlexOk so I have made some progress. Here is where I am currently at:
RMAN> RUN
2> {
3> SET NEWNAME FOR DATAFILE 1 TO 'F:\oracle\oradata\cgard\file1.dbs';
4> SET NEWNAME FOR DATAFILE 2 TO 'F:\oracle\oradata\cgard\file2.dbs';
5> SET NEWNAME FOR DATAFILE 3 TO 'F:\oracle\oradata\cgard\file3.dbs';
6> SET NEWNAME FOR DATAFILE 4 TO 'F:\oracle\oradata\cgard\file4.dbs';
7> SET NEWNAME FOR DATAFILE 5 TO 'F:\oracle\oradata\cgard\file5.dbs';
8> SET NEWNAME FOR TEMPFILE 1 TO 'F:\oracle\oradata\cgard\temp1.dbs';
9> duplicate target database
10> to cgard
11> from active database
12> pfile='F:\oracle\product\11.2.0\dbhome_1\database\initCGARD.ora';
13> }
executing command: SET NEWNAME
starting full resync of recovery catalog
full resync complete
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting Duplicate Db at 19-NOV-10
using channel ORA_AUX_DISK_1
contents of Memory Script:
set newname for datafile 1 to
"F:\ORACLE\ORADATA\CGARD\FILE1.DBS";;
set newname for datafile 2 to
"F:\ORACLE\ORADATA\CGARD\FILE2.DBS";;
set newname for datafile 3 to
"F:\ORACLE\ORADATA\CGARD\FILE3.DBS";;
set newname for datafile 4 to
"F:\ORACLE\ORADATA\CGARD\FILE4.DBS";;
set newname for datafile 5 to
"F:\ORACLE\ORADATA\CGARD\FILE5.DBS";;
backup as copy reuse
datafile 1 auxiliary format
"F:\ORACLE\ORADATA\CGARD\FILE1.DBS"; datafile
2 auxiliary format
"F:\ORACLE\ORADATA\CGARD\FILE2.DBS"; datafile
3 auxiliary format
"F:\ORACLE\ORADATA\CGARD\FILE3.DBS"; datafile
4 auxiliary format
"F:\ORACLE\ORADATA\CGARD\FILE4.DBS"; datafile
5 auxiliary format
"F:\ORACLE\ORADATA\CGARD\FILE5.DBS"; ;
sql 'alter system archive log current';
executing Memory Script
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
executing command: SET NEWNAME
Starting backup at 19-NOV-10
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=143 device type=DISK
channel ORA_DISK_1: starting datafile copy
input datafile file number=00001 name=G:\APP\ADMINISTRATOR\ORADATA\CGARDMSTR\SYS
TEM01.DBF
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/19/2010 16:23:
52
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01017: invalid username/password; logon denied
ORA-17629: Cannot connect to the remote database server
continuing other job steps, job failed will not be re-run
channel ORA_DISK_1: starting datafile copy
input datafile file number=00004 name=G:\APP\ADMINISTRATOR\ORADATA\CGARDMSTR\USE
RS01.DBF
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/19/2010 16:24:
24
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01017: invalid username/password; logon denied
ORA-17629: Cannot connect to the remote database server
continuing other job steps, job failed will not be re-run
channel ORA_DISK_1: starting datafile copy
input datafile file number=00002 name=G:\APP\ADMINISTRATOR\ORADATA\CGARDMSTR\SYS
AUX01.DBF
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/19/2010 16:24:
43
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01017: invalid username/password; logon denied
ORA-17629: Cannot connect to the remote database server
continuing other job steps, job failed will not be re-run
channel ORA_DISK_1: starting datafile copy
input datafile file number=00003 name=G:\APP\ADMINISTRATOR\ORADATA\CGARDMSTR\UND
OTBS01.DBF
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/19/2010 16:25:
17
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01017: invalid username/password; logon denied
ORA-17629: Cannot connect to the remote database server
continuing other job steps, job failed will not be re-run
channel ORA_DISK_1: starting datafile copy
input datafile file number=00005 name=G:\APP\ADMINISTRATOR\ORADATA\CGARDMSTR\RMA
N01.DBF
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 11/19/2010 16:25:55
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 11/19/2010 16:25:
55
ORA-17629: Cannot connect to the remote database server
ORA-17627: ORA-01017: invalid username/password; logon denied
ORA-17629: Cannot connect to the remote database server
RMAN>
I did issue the commands:
C:\Documents and Settings\Administrator>rman target /
Recovery Manager: Release 11.1.0.6.0 - Production on Fri Nov 19 13:55:40 2010
Copyright (c) 1982, 2007, Oracle. All rights reserved.
connected to target database: CGARDMST (DBID=3160500813)
RMAN> connect catalog rman/rman
connected to recovery catalog database
RMAN> connect auxiliary sys/**********@cgard
connected to auxiliary database: CGARD (not mounted)
So I am not quite sure what it wants. I read somewhere about a password file but I don't understand how it will help, also most things I have looked at wernt clear on how to do it. I took a stab anyway:
G:\app\administrator\product\11.1.0\db_1\BIN>orapwd file=orapwcgard password=*********** entries=20 ignorecase=n
Was run on the original database host.
File was then copied to "F:\oracle\product\11.2.0\dbhome_1\database" on the receiving database's host it was then renamed to PWDcgard.ora as there was file there already with that name.
It did not help(same error).
The book I am using mentions the 'PASSWORD FILE' param to be used with the duplicate command but I cant find a example on how to use it so any help with that would be great.
Thanks for the effort so far guys its really appreciated. -
Need a little bit of help with substring...
Im very new at java programming, and need a bit of help with a problem:
Here is what I have:
System.out.print("Enter a string : ");
Scanner scan = new Scanner (System.in);
stringy = scan.nextLine();
Now I want to split the string "stringy" like this: h:hi:hip:hipp:hippo
I know this uses substring, but I can't figure out how to do it.
Any help would be great, thanks!I know about the length method, what I dont knowis
how to use the length and substring methodstogether
to solve the problem i mentioned initially. There are three ingredients to perform this task:
- String.length()
- String.substring(int start, int end)
- for-statement:
http://java.sun.com/docs/books/tutorial/java/nutsandbo
lts/for.html
Pseudo code:IN <- input String from user
LOOP FROM 0 -> IN.length()
print IN.substring(?, ?)
print ":"
END LOOP
Remember, Im very new. ;)Remember that by just handing you the solution, you
will learn far less than finding things out by
yourself.
; )Thanks a lot, i should be able to figure it out froom the pseudo code. :) -
i do not have enough money in my account as of now, so i am trying to use another master card to buy a song or two.. or three.. but it is not allowing me to use this card.. or it keeps saying it is declined.. but i know i have money on it..
whats up with thatMight be an address formatting issue with your iTunes account records. See http://support.apple.com/kb/TS1646.
-
Help with dynamic page layouts
Hello JSP Gurus,
I'm attempting to dynamically generate the page layout for my site based on the organization a user belongs to. Basically, I'd have certain resources like navigation links, graphics, etc, that are modular. Then I'd like to construct the layout using these "moduls" in a dynamic fashion. Does anyone have any suggestions on techniques or technologies that would be useful? I'm not really looking at the portal/portlet model. Is this something that Cocoon could do by storing the layout for each customer as an XML file or something? Any ideas, suggestions, experiences would be helpful.
Thanks!How does Tiles differ from the JetSpeed apache
project? They both appear to be portal-like
frameworks, or am I incorrect about that? Which is
preferred?Frankly, I can't give you an in-depth answer to that. Maybe someone else can help with more details.
What I can tell you is that JetSpeed seems to be more of a real portal architecture. Emphasis is placed on the framework portion, interfacing with exisiting applications. Visual layout takes second seat to this.
Tiles on the other hand puts more emphasis on visual layout and reuse.
Just looking at JetSpeed's visual interfacing a little bit makes me really dislike it. You build tables and such inside of a servlet, so there's a tight coupling (or at least, much tighter than with Struts/Tiles) between the presentation and logic. (I'm basing this on a JavaWorld article at
http://www.javaworld.com/javaworld/jw-07-2001/jw-0727-jetspeed.html )
Based on your initial question, it would seem to me that tiles is much closer to what you're looking for (and likely easier to just pick up and use).
Anyway, take all this with a grain of salt; I'm not exactly an expert on JetSpeed. =) -
Help with dynamic text and and css !
My second question of the day.
I'm trying to build a feature in my app in which the user can
hide/reveal
bolding and or
italics and or
underlining. The text is being loaded in from an xml file
and I was thinking about styling it with css in order to get the
underlining. My problem is that the only way I can think about
pulling this off is to have a css style sheet that has a defined
bold,italic and underline class defined- - then another one that
just has a italic and underline class defined -- then another one
that has just a bold and underline class defined . . . and so on
and so on. You can see why I would prefer a much more streamlined
system. Unfortunately my experience with dynamic text styling is
somewhat limited. Hopefully someone can help me out here.Perfect. I knew it was some little snippet that I was
forgetting. I made a temporary fix of creating a 0% alpha box over
the button like a fake click area above the text, and that worked
but I know that it was a half-arsed way of working around it.
Thanks. -
Really need help with basic static forms?!?!
I was thrown into creating forms for our Business Managers and I am not a developer in any way! I am a Recruiter, but somewhat tech savvy (or at least I thought I was).
I am trying to create basic static forms. I started by using Adobe Professional and them moved to LiveCycle Designer because of what I thought were better "editable" options when creating the form. I want to be able to send my manager's forms via e-mail (PDF), they can enter the requesting information in the fields, save a copy for themselves, print, and e-mail to me. We are not using any of the Adobe Server things, I don't want them to submit via an e-mail button on the form. We are a non-profit organization and my managers are using all different versions of reader.
I am getting extremely frustrated because in testing the form everything seems to be working properly including tab order, print, save and everything I want it to do. Then, I send them out for my managers to use, for some Manager's they work great, no problems at all! But then, I keep getting these weird issues from different Managers with the same form. For one of them, what they typed in the field, now looks like it's behind the text box, like when you select Highlight all, you can see what he typed, but then if you click into the text box, you can see what he typed. Another Manager said, two (crucial) fields would not show the text entered when she tries to save or print, but on screen you can see it????
So after the rambling, I guess my questions are: should I be using Live Cycle to create such basic forms or should I be using Adobe? Can anyone recommend a good "FOR DUMMIES" book that will help me figure out what I am doing wrong, and not explain in "IT" language?
This is really getting embarrassing!! Any help would be greatly appreciated!!!!1. Make sure to set the PDF target version. Goto File -> Form Properties (see the first screenshot attached)
Find out the minimum Reader version used in your organization and set this value accordingly. If you are not sure, select the least recent version.
2. two (crucial) fields would not show the text entered when she tries to save or print, but on screen you can see it
This may be due to the visibility settings of the fields. Just make sure that you have selected visible instead of visible (screen only)
See the second screenshot attached
Hope this may help you.
Nith -
Need help with Dynamic Excel File Name please.
I am try to output an excel file with dynamic date.
Here what I done.
I am using SQL 2012.
Create Execute SQL Task Connect Type: Excel
Create Data Flow Task set to DelayValidation: True
Create OLE DB Sourc
Create Data Converstion
Excel Destination
Excel Connection, Expression, select ExcelFilePath
@[User::sXLFilePath] + @[User::sFileName] + RIGHT("0" + (DT_WSTR, 2) DATEPART("DD", GETDATE()), 2)+ RIGHT("0" + (DT_WSTR, 2) DATEPART("MM", GETDATE()), 2) + RIGHT((DT_WSTR,
4) DATEPART("YYYY", GETDATE()), 2) +".csv"
C:\ExcelOutPut\SOX_CAM_SQL_Report_010215.xls
What I try to accomplish is output the file with each day append to it, date must be DDMMYY.
I google it and found many samples, tested it, and none of them is work for me.
Any suggestions or some examples to share is greatly appreciate.
I am new to SSIS. I found one poster have similar issue and inside the posted below, there was one suggestion to create variable and connection string but how do I bind that variable to Excel Connection manger.
Please help.
Thank you so much in advance.
Ex: SOX_CAM_SQL_Report _020215.csv
SOX_CAM_SQL_Report _030215.csv
--Similar issue:
https://social.msdn.microsoft.com/Forums/en-US/bda433aa-c8f8-47c9-9e56-efd20b8354ac/creating-a-dynamic-excel-file?forum=sqlintegrationservices
Suggestion in the above posted but where can bind this to Excel Connection Manger.
Please help provide step by step. Thanks.
"Provider=Microsoft.Jet.OLEDB.4.0;Data Source=c:\\temp\\" + "ExcelTarget" + (DT_WSTR,4)DATEPART("yyyy",GETDATE()) +
".xls" + ";Extended Properties=\"EXCEL 8.0;HDR=YES\";"
And yes, as you were intimating, the delay validation on the dataflow should be set.Hi NguyenBL,
According to your description, you created ssis package to export data from database to excel, when the package runs, you want to create new excel and name the file with time stamp. If that is the case, we can achieve the goal by following steps:
Create a script task used to create excel files.
Create a data flow task to export data from database to excel.
Add OLE DB source to data flow task.
Add Excel Destination to data flow task.
Create connection manager for OLE DB and Excel.
Click Excel Connection Manager, in Properties window, click (…) button next to Expressions, then set ExcelFilePath with expression like below:
"C:\\ETL Lab\\CreateNewExcel\\ExportData_"+REPLACE((DT_STR, 20, 1252)(DT_DBTIMESTAMP)@[System::StartTime], ":", "")+".xls"
For detail information, please refer to the document:
https://sqljourney.wordpress.com/2013/01/12/ssis-create-new-excel-file-dynamically-to-export-data/
If you have any more questions, please feel free to ask.
Thanks,
Wendy Fu
Wendy Fu
TechNet Community Support -
URGENT: Help with dynamic borders!
Hello all -
I DESPERATLY need help with this! I am using the code from
kirupa's xml photo gallery with the thumbnails. right now the alpha
changes on mouseover, fine...but my client is demanding that it
draw a border instead. I have been at this for about a week and
have NO idea how to do this...i have looked at things like API's
and things...but my main issue is that the images and MC's are all
created on the fly and i dont know how to code in an on mouseover
draw a border type of function, no idea at all!
This is my code as it sits now, PLEASE SOMEONE HELP ME!!!
thank you in advance!really could use some help quick here guys
-
Need help with Automatic Generating Form Numbers
Hello,
I am new to all this and have found myself stuck trying to figure out how to have my forms automatiacally generate a new number each time it is used. I tried looking through similar posts but do not understand the directions given there. If someone could help me figure this out I would really appreciate it. Thank you.Before opening my forms for responses I am creating a column with my starting form number - 1. in the cell above(first response) I am setting an equation =B2 +1. All incoming responses automatically generate an ID number within my responses table. The form itself will not present the number, but if you were looking for an easy way to track responses w/ an ID it has worked well for me so far.
-
Hello,
I'd like to generate a form with a PL/SQL script.
Basically I'd like to ask the user to rank a set of items.
I have two tables one, ITEMS [ID (Primary Key), NAME (VARCHAR2)] and one PREFERENCES [ID (Primary Key), ITEM_ID (Foreign Key),PREFERENCE (Number), USERNAME (VARCHAR2)]
From what I understand Collections and APEX_ITEM would be useful here.
What should I do next?
Should I read all of the ITEMS ( there will only be 7-13) into a collection and then use APEX_ITEM to generate rows in the form?
Should I first create rows in Preferences, containing only the ITEM_ID and the USERNAME, and then use multiple row update in APEX_ITEM to generate a tabular form to update the rows?
Any input would be greatly appreciated.
Thanks,
SamI would like one form on one page for creating multiple rows. A tabular form would be fine.
the page would look like
Item 1 , Choose a Preference (LOV)
Item 2, Choose a Preference (LOV)
Item n, choose a Preference (LOV)
I know that this could probably be done more easily one row at a time, but I am concerned about making it easy for the end user.
A tabular form could be appropriate, however it seems like most of your example tabular forms, have already generated records. (ie http://htmldb.oracle.com/pls/otn/f?p=31517:170:4031429456413649::NO ).
Would it make sense to prepare the form by inserting values into the table just before displaying the form.
something like (in psudocode)
select ID from ITEMS into l_items;
INSERT INTO PREFERENCES (ITEM_ID)
VALUES (l_items)
I have a trigger on Preferences that inserts v('APP_USER') into the USERNAME column.
If I did this the form could display
select "ITEMS"."NAME" as "NAME",
"PREFERENCES"."PREFERENCE" as "PREFERENCE"
from "ITEMS" "ITEMS",
"PREFERENCES" "PREFERENCES"
where "PREFERENCES"."ITEM_ID"="ITEMS"."ID"
NAME would be displayed as TEXT
PREFERENCE would be an LOV
USERNAME would be hidden
Thanks for your help.
-Sam
Maybe you are looking for
-
Implementation Restriction 'DBMS_LOB.READWRITE' Urgent Help
*"Implementation Restriction 'DBMS_LOB.READWRITE' Cannot directly access remote package variable or cursor"* Hello, I need urgent help in implementing DBMS_LOB package. I need to write data in LOB object using DBMS_LOB object following code is writte
-
FOX formula works wrong. Why?
Hello, My scenario: <b>My planning layout filled with data:</b> 0CMMT_ITEM: 0FM_AMOUNT1 0AMOUNT(data from fact cube) <i><b> A.2.2.2____________0_____________500 A.3.3.3____________0_____________0 A.1.1.1____________0_____________0</b>
-
Hi, I'd like to deploy ISE on my network and I have two big 4500R switches : a 4510R and a 4507R. A Cisco vendor told me that these last are incompatible with ISE and that I need to buy two 4500E. When I see the price of those products i'm a bit susp
-
Hi All, I need to create a checkbox tree control to show the user and make him select the directory listing of application-home on the server side. I have a solution wherein I have to submit the page every time the checkbox is clicked, but that is no
-
Second Generation Ipod touch works only when plugged in, sometimes?
My ipod touch 2nd gen is having some issues. My friend gave it to me this way. He says it worked one night, charged it overnight, then went to turn it on the next day and it wouldn't turn on. So I got it then plugged it in and it starts turning on wi