Create a form in the form of dynamic array
Hello worldIt is a question aims to Denes Kubicek, but if it is not on the forum today so perhaps someone else could help me.
I am creating a tabular form on a table view. The thing is that the primary key is not met by trigger, the primary key is 2 varchar columns.
For example. *
SVC_NAME
SVC_HST_IP
SVC_NUM
SVC_DB_TYPE
SVC_APP_TYPE
SVC_APP_NAME
SVC_BK_TYPE
I try so to create a tabular presentation based on the columns above, where the SVC_NAME and the SVC_HST_IP will be inserted as primary keys.
I saw on the site Web of Dene Kubiceks APEX that it has been able to create a tabular presentation that would meet my needs, dynamics of tabular form. The only thing is that I fell in the first stage. Please could someone provide me with some guidance as to where to put the code?
What I did at this point, it's place article 1 of the code "1. "SQL query / query SQL that returns the PL/SQL function" in a report. However, when I run the page I get "could not parse the SQL query: ORA-00936: lack the expression" error message. I guess article 2 and 3 will be the application process but I have not at this point yet. I'm not sure about article 4.
Any help would be appreciated,
Thank you
-N.S.N.O.
N.S.N.O.
See this example on how to proceed with tables without primary key:
http://HTMLDB.Oracle.com/pls/OTN/f?p=31517:157
that applies in your case. Using ROWID is also an option.
Everything that you later call your primary key is not important, since this example uses ROWID.
Denes Kubicek
------------------------------------------------------------------------------
http://deneskubicek.blogspot.com/
http://www.Opal-consulting.de/training
http://Apex.Oracle.com/pls/OTN/f?p=31517:1
------------------------------------------------------------------------------
Tags: Database
Similar Questions
-
Manual in the form of dynamic array
Hi friends,
I worked on a time sheet application I need to create a manual tabular presentation in the apex 4.1. I created a page with 3 items based on values that the form should be generated. I created a report region in the page with the source code as
DECLARE
v_query varchar2 (10000);
BEGIN
IF: P7_RELEASE_ID is not null THEN
v_query: = ' SELECT b.act_code activities.
apex_item. Text (1, a.ts_wd1, 10, 10) Monday.
apex_item. Text (2, a.ts_wd2, 10, 10) Tuesday,.
apex_item. Text (3, a.ts_wd3, 10, 10) Wednesday,.
apex_item. Text (4, a.ts_wd4, 10, 10) Thursday.
apex_item. Text (a.ts_wd5, 5, 10, 10) Friday,
apex_item. Text (a.ts_wd6, 6, 10, 10) Saturday,
apex_item. Text (a.ts_wd7, 7, 10, 10) Sunday,
apex_item. Text (8, a.ts_remarks, 70, 128) comments
tb_opti_emp_ts a, tb_opmi_proj_act_map b
where a.proj_ref = b.proj_ref = ' | : P7_PROJ_REF |' and a.rel_id = b.rel_id = ' | : P7_RELEASE_ID |' and a.emp_id = ' | : P7_EMPLOYEE;
ON THE OTHER
v_query: = 'SELECT 1 double WHERE 1 = 0';
END IF;
Return (v_query);
END;
I checked the option "use generic Column Names (analyze the query when executing only)" under source and type is the SQL query (body of function from pl/sql returning sql query)
in this 3 page elements are P7_PROJ_REF, P7_RELEASE_ID and P7_EMPLOYEE.
Now, I created a button that unconditionally turns the same page and submits the page so on clicking on it that the data should be produced. I get the "no data available" when the elements of the page are empty, but when I'm legitimate data passing in the elements (btw, all three are popup LOV), I get an error message
Failed to parse the SQL query:
ORA-00933: SQL not correctly completed command.
Please, I've been working for hours but not getting is not the solution...
Anyone with a solution please...Hello
Also if your item values are string, missing single quotes.
It should be something likeWHERE a.proj_ref = b.proj_ref AND a.rel_id = b.rel_id AND a.proj_ref = ''' || :P7_PROJ_REF || ''' AND b.rel_id = || :P7_RELEASE_ID || ' AND a.emp_id = || :P7_EMPLOYEE;
Kind regards
Jarihttp://dbswh.webhop.NET/dbswh/f?p=blog:Home:0
-
Update in the form of dynamic array
I have a tabular presentation on 1 Table (empty table)
I want to fill Table_1/under form of a table with the values of table 2
Table_1 and Table_2 are bound by relationships pk/fk (Main_Route)
Basically, there will be a selection list on the form of Table_1/tables for Main_routes. Once I hit the button changes apply, I want to get the values for the street, ward and section of Table_2.
How do I get there? Y at - it sort of trigger, I can use the process page or at the level of the sql elements?
Table_1
-----------------
ID (number) (pk)
Main_Route (varchar (30) 2)
Street (varchar (30) 2)
Ward (varchar (30) 2)
Section (varchar (30) 2)
Table_2
---------------
(2 (30)) Main_Route varchar (pk)
Street (varchar (30) 2)
Ward (varchar (30) 2)
Section (varchar (30) 2)Hello
SQL Workshop-access, SQL commands and then run this:
CREATE OR REPLACE TRIGGER "TABLE1_BI" BEFORE INSERT OR UPDATE ON "TABLE1" FOR EACH ROW BEGIN DECLARE vSTREET VARCHAR2(30); vWARD VARCHAR2(30); vSECTION VARCHAR2(30); BEGIN IF :NEW.MAIN_ROUTE IS NOT NULL THEN SELECT STREET, WARD, SECTION INTO vSTREET, vWARD, vSECTION FROM TABLE2 WHERE MAIN_ROUTE = :NEW.MAIN_ROUTE; :NEW.STREET := vSTREET; :NEW.WARD := vWARD; :NEW.SECTION := vSECTION; ELSE :NEW.STREET := NULL; :NEW.WARD := NULL; :NEW.SECTION := NULL; END IF; END; END;
followed by:
ALTER TRIGGER "TABLE1_BI" ENABLE
It must run on for any insert or update TABLE1. As long as ROUTE_MAIN has a value, then the related information is retrieved from TABLE2 and used to update the record on the TABLE1. If ROUTE_MAIN is empty, the other fields are so dumped.
Andy
-
How to fill a dynamic array according to the choice of the Viewer
Hello
I came across a dead end on my page "events".
There is a dynamic array, get the information from a database. Initially, it will display upcoming events.
At this point, my question is this:
* Can fill the dynamic table based on a condition where the current date and the date of the event (as in the comic book) will be compared and if the date of the event is aware of the date, it will appear in the table. Otherwise, it will not.
If I can do it, can someone please help me with the code?
In addition, on the right side of the page there are 3 options for the Viewer:
1. display upcoming events
2 discovered past events
3 search for events by month and year
What I want to do, is that when the viewer clicks on 'past events', the table will be reset and populated by these events, whose date is exceeded.
When the viewer clicks on "upcoming events", the table is reset again and filled with the relevant events.
When the viewer selects a month and a year, the database to find reviews of research.
Can we write this in php? Since I read smwhere that php does not work with onclick functions... I got confused. Cuz in my table data should vary depending on what the Viewer is clicking (coming events/events/research past events). I do not want to create pages for each type of event.
If anyone has a better suggestion to complete this task, please share!
Thank you!
> Can I complete the dynamic table based on a condition if the current date and the event date (as in the comic book)
> will be compared and if the event date is later than the current date, it will appear in the table. Otherwise, it will not.
Of course. Just compare the date field in your database with the current time as returned by the function of date of your DBMS. Assuming you are using MySQL, you would compare your column with the currdate() function and the appropriate use of upper / lower to operators in the WHERE clause. If you don't know what a WHERE clause is then I invite you to learn SQL as soon as possible. You can't build data sites without a basic knowledge of SQL.
> Since I read smwhere that php does not work with onclick functions...
This means that php is a server side, where interactions with the user always occur on the client's site. But that doesn't mean that you can't call action from the side event on the client side server. Certainly, you can and would be.
You should consider adding links to the page of dynamic array passing a querystring to the php script that determine which filter to add in the future WHERE clause to the current date, less, etc..
Also, in the future, please post those questions on the application development forum.
-
Is it possible to create a form with text boxes of "adjustment" to the participants to answer the questions? Questions are open to everyone, so asking narrative responses.
Hi landon39843319,
You can have fields flowing / more dynamic in a PDF of LiveCycle Designer form, but not in an AcroForm (only created in Acrobat). LiveCycle Designer is a program completely separated used for are delivered with each purchase Acrobat Acrobat XI has been release. Now you must buy separately. But LiveCycle Designer PDF forms are wrapped in a shell of PDF so that they will be displayed and can be filled in the free Acrobat Reader DC and earlier versions.
If you do this in Acrobat with an AcroForm, you have as much information typed into a field that the user wants, but he's going to show everything on the screen. Displays only the text that fits into the field, then a + sign will appear in the field to indicate that there is more text in this field, you can scroll down to read. You can also set the automatic font size so that as more text is entered in the police becoming smaller and smaller to adjust the text, but that is usually not desirable for many forms.
Hope this helps,
Dimitri
WindJack Solutions
www.pdfscripting.com
-
Return the form / change Dynamic Binding / multi-Language
Hi all
I'm trying to create a form to take charge of the user to change the language in real time.
So I would like to know if I can:
(1) change the bound field dynamically
If I can prepare some game data and link that I need, but it seems that I still need to trigger the of to return.
(2) Refersh form after the change of the bound data
I tried something like this:
xfa.datasets.data.mainData.sfDDLInfo02.loadXML (xfa.datasets.data.mainData.sfDDLInfo01.sav eXML (), 1, 1);
or this:
xfa.datasets.data.mainData.sfDDLInfo01.Key.value = "key";
xfa.datasets.data.mainData.sfDDLInfo01.Value.value = "value";And this success to update the data set, but the dropdown menu with binded on it do not update...
Concerning
Bill
If you do a xfa.layout.relayout () command, which will again cause the form layout. If you just want to merge the data dom once again, you can do a xfa.form.remerge (). This reinstall can also cause a new provision, if there is a change to the data.
Paul
-
While closing a link to expedia.ca a message come to say: the page you requested was created using data from the form. This page is no longer available. If you resend the data, any action that has been specified by the form will be repeated. You want to resubmit the data? When I click Yes or no, nothing happens except that the message just reappears. I can't get rid of it so I can't do anything else on my phone, except to answer a call if someone calls me. How can I get rid of this message from my phone? I tried to turn it works... even by leaving off the coast for 5 minutes before turning turn it back on. I can't even check my OS because I do not what anyone on my phone. I hope someone can help me with this.
Have you tried a battery pull? This should fix a problem as you described.
With your phone, remove the battery, then replace a minute later. This will do all sorts of wonderful things to your phone for free unclaimed memory, delete no cited source points and make your phone run smoothly.
Try it and let us know if it does the trick.
-
Can I create a form using the object styles in InDesign
Hello
Is it possible to create a form in the object Styles I can create in InDesign? I know that I can attribute some qualities, but I would like to create a capsule form that will be repeated throughout a page of lists in our sites.
So far, I have to copy, paste, and anchor the object in the text which is quite time that we have thousands of ads, and life is too short for mundane tasks.
If I can create a form of object Styles, by entering its dimensions, it will allow me to create the style for import into InDesign, 4 d, our CMS.
If not, can we have it in a new construction, please Adobe?
I look forward to your reply.
Thank you
Roy
That can be done with tabs and styles nested using underscore with a custom stroke style. I hope that these screenshots should explain it...
-
Mr President.
I create a form based on two tables that have sequences also. When I create insert only row is inserted in the fields in table first and second fields of the table are empty. Why?
the page source is
<?xml version='1.0' encoding='UTF-8'?> <ui:composition xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:af="http://xmlns.oracle.com/adf/faces/rich" xmlns:f="http://java.sun.com/jsf/core"> <af:panelFormLayout id="pfl1"> <af:group id="Group"> <af:inputText value="#{bindings.VoucherId.inputValue}" label="#{bindings.VoucherId.hints.label}" required="#{bindings.VoucherId.hints.mandatory}" columns="#{bindings.VoucherId.hints.displayWidth}" maximumLength="#{bindings.VoucherId.hints.precision}" shortDesc="#{bindings.VoucherId.hints.tooltip}" id="it1"> <f:validator binding="#{bindings.VoucherId.validator}"/> <af:convertNumber groupingUsed="false" pattern="#{bindings.VoucherId.format}"/> </af:inputText> <af:inputDate value="#{bindings.VoucherDate.inputValue}" label="#{bindings.VoucherDate.hints.label}" required="#{bindings.VoucherDate.hints.mandatory}" columns="#{bindings.VoucherDate.hints.displayWidth}" shortDesc="#{bindings.VoucherDate.hints.tooltip}" id="id1"> <f:validator binding="#{bindings.VoucherDate.validator}"/> <af:convertDateTime pattern="#{bindings.VoucherDate.format}"/> </af:inputDate> <af:inputText value="#{bindings.Credit.inputValue}" label="#{bindings.Credit.hints.label}" required="#{bindings.Credit.hints.mandatory}" columns="#{bindings.Credit.hints.displayWidth}" maximumLength="#{bindings.Credit.hints.precision}" shortDesc="#{bindings.Credit.hints.tooltip}" id="it2"> <f:validator binding="#{bindings.Credit.validator}"/> </af:inputText> </af:group> <af:group id="g1"> <af:inputText value="#{bindings.Lineitem.inputValue}" label="#{bindings.Lineitem.hints.label}" required="#{bindings.Lineitem.hints.mandatory}" columns="#{bindings.Lineitem.hints.displayWidth}" maximumLength="#{bindings.Lineitem.hints.precision}" shortDesc="#{bindings.Lineitem.hints.tooltip}" id="it3"> <f:validator binding="#{bindings.Lineitem.validator}"/> <af:convertNumber groupingUsed="false" pattern="#{bindings.Lineitem.format}"/> </af:inputText> <af:inputText value="#{bindings.VoucherId1.inputValue}" label="#{bindings.VoucherId1.hints.label}" required="#{bindings.VoucherId1.hints.mandatory}" columns="#{bindings.VoucherId1.hints.displayWidth}" maximumLength="#{bindings.VoucherId1.hints.precision}" shortDesc="#{bindings.VoucherId1.hints.tooltip}" id="it4"> <f:validator binding="#{bindings.VoucherId1.validator}"/> <af:convertNumber groupingUsed="false" pattern="#{bindings.VoucherId1.format}"/> </af:inputText> <af:inputText value="#{bindings.Debit.inputValue}" label="#{bindings.Debit.hints.label}" required="#{bindings.Debit.hints.mandatory}" columns="#{bindings.Debit.hints.displayWidth}" maximumLength="#{bindings.Debit.hints.precision}" shortDesc="#{bindings.Debit.hints.tooltip}" id="it5"> <f:validator binding="#{bindings.Debit.validator}"/> </af:inputText> <af:inputText value="#{bindings.Credit1.inputValue}" label="#{bindings.Credit1.hints.label}" required="#{bindings.Credit1.hints.mandatory}" columns="#{bindings.Credit1.hints.displayWidth}" maximumLength="#{bindings.Credit1.hints.precision}" shortDesc="#{bindings.Credit1.hints.tooltip}" id="it6"> <f:validator binding="#{bindings.Credit1.validator}"/> </af:inputText> <af:inputText value="#{bindings.Particulars.inputValue}" label="#{bindings.Particulars.hints.label}" required="#{bindings.Particulars.hints.mandatory}" columns="#{bindings.Particulars.hints.displayWidth}" maximumLength="#{bindings.Particulars.hints.precision}" shortDesc="#{bindings.Particulars.hints.tooltip}" id="it7"> <f:validator binding="#{bindings.Particulars.validator}"/> </af:inputText> <af:inputText value="#{bindings.Amount.inputValue}" label="#{bindings.Amount.hints.label}" required="#{bindings.Amount.hints.mandatory}" columns="#{bindings.Amount.hints.displayWidth}" maximumLength="#{bindings.Amount.hints.precision}" shortDesc="#{bindings.Amount.hints.tooltip}" id="it8"> <f:validator binding="#{bindings.Amount.validator}"/> <af:convertNumber groupingUsed="false" pattern="#{bindings.Amount.format}"/> </af:inputText> </af:group> <f:facet name="footer"> <af:button text="Submit" id="b1"/> <af:button actionListener="#{bindings.CreateInsert.execute}" text="CreateInsert" disabled="#{!bindings.CreateInsert.enabled}" id="b2"/> <af:button actionListener="#{bindings.Commit.execute}" text="Commit" disabled="#{!bindings.Commit.enabled}" id="b3"/> <af:button actionListener="#{bindings.Rollback.execute}" text="Rollback" disabled="#{!bindings.Rollback.enabled}" immediate="true" id="b4"> <af:resetActionListener/> </af:button> </f:facet> </af:panelFormLayout> </ui:composition>
Concerning
Go to your VO Wizard, select the tab of the entity and to check if both the EO is editable or not.
See you soon
AJ
-
I have Acrobat Pro 10, when I installed the CD player, it has affected the way I was able to move text boxes when I create a form of gall, he has also affected my ability to release and change the properties of the fields /, I'm I suspect my off lucky cat Adobe support will not help , nor a cure to. Is there a place to find updates to Acrobat 10, if I uninstall my current program? I still have my original CD and paperwork. Adobe acknowledge that they have created this problem. I worked very intensively with Acrobat Pro 10 on the form for a non-profit, I do part, and it happened immediately after that I was testing a form I created in Acrobat 10 to test with CD player. Windows 7 operating system
This is usually due to the function 'Snap to Grid' is enabled. It can be accidentally activated via the keyboard, so this may have been what happened.
-
I recently created a form to complete for the app e-business of the company. When you press the button submit, he only sent to our Inbox to project and not sent to the e-mail provided in the URL. Can someone help us to program the key to help explain why / tell us step by step what we should do?
OK, I re-read your question. It's actually expected behavior. The user must manually send the email.
If you want it to be a silent process, then you must either install a script on the local computer of the user who will do this, or use any email but something as a service web to which you directly submit the form data.
-
I have created a form for the company, so that I work. It is a form that will be used in several offices and has buttons, drop downs and text fields. One of the text fields has a requirement that when the PDF file is opened, the text field has something written in there already, as an example (and one only) INSERT the TEXT HERE. I created the text field in Indesign and used the text tool to type in the area of the body-copy required. After that I have to export it as an interactive PDF, text in the text field disappeared.
Drop-down lists give an option for a default choice, but I don't see a way to create default text in the Panel of buttons and forms for text fields. Is there a workaround or a hidden feature?
Thank you!
Set it in Acrobat.
-
If I create a form using the free trial software, will I be able to use and access the form, after the trial period is over?
Yes, you can access the project that you created after the trial is over, but you need to back it up.
Concerning
Stéphane
-
I created a form to complete 4 page in Acrobat. I would like to place a button at the bottom of page 4 when you click inserts another copy of the form in the existing file. I want the user to have the ability to easily create multiple copies of the same 4 pages in a single file. It is possible with Acrobat? I use a PC.
It is possible using models and JavaScript, but if it is to work with the player, users will need to use the desktop version (Windows/Mac) of 11 Reader or CD player. Here is a link to an older article which explains the basics: Planet PDF - a lesson in the templates for Adobe Acrobat
Note that this is a bit outdated, but it should help you get started. If you have any other questions, post them in the Acrobat JavaScript here forum: JavaScript
-
Adobe Acrobat Pro: creating a form of the word: HELP
I use Adobe Acrobat Pro, creating a form of my existing document before. I would like to add additional conditions to some fields, such as 'read only', use the guidelines of the Ecosign text tags. If Yes, how can I change the domain names? If not, what could I do? In addition, if there is a difference, I use a mac. Thanks in advance for your help
Hello Bhagirath,
You can make a field read only by a double click on the field and check the "read-only" and save. Now, if you want to use text tags, you just add '!' before the code and it will be read-only.
Let me know if you need assistance.
Kind regards
-Usman
Maybe you are looking for
-
How can I import my favorites from an old version to the new version of firefox?
I want to improve Firefox from an earlier version to a more recent, but I have a lot of favorites that I want to how I do it and what is the best way? Help, please.
-
Equium L40 - 17 M - how to reset the user password
This is probably a really basic question, so I hope you can help! I forgot my password for my Equium L40 - 17 M.When I click on "reset password" under my user icon it says: "this feature requires removable media such as a floppy disk or USB flash dri
-
How to detect multiple points of laser on the image
Consider I have a picture with several spots dark bright laser. I want to find the center of gravity of each laser spot and return the coordinates of each spot. Currently, I managed to detect an single spot to grab an image, adjustment of the thresho
-
World of Warcraft "is not responding.
Hello I have read a lot of posts on games when I hung up, not answer or crashes just with Win 7.I have the same problem, World of Warcraft freezes on the loading screen, same playing, I usually sit 1 to 2 minutes to the loading screen when I sat usua
-
computer crashed made a return to the top on my external HD after that I restored my computer to market I dumped the data on the computer desktop a shortcut to the system restore, but cannot find a way to put everything where it is headed.