How to Create a Form Wizard
I am in need of some help...
I have about 8 or 9 tables, one parent with a PK of (NUMBER, BARCODE), and the rest are children with an identical PK and an FK pointing back up to the parent table.
I am trying to create a separate form for each table and set it up like a wizard, so you start with a form on the parent table, hit next, enter data for the next table, and so on.
My problem is with the primary key. I need to pass on the values of NUMBER and BARCODE from the 1st form to 2nd form. I have tried setting the value on the 2nd form to a static assignment of the P1 page items but that won't insert the values into the DB (i had to change those items from Database column to Static Assignment)
What is the best way to do this?
Kevin
Hi,
There are probably several ways that you could do this. One method that I have used many times is something like:
SELECT ....
FROM MyTable A
WHERE (:P1_X = 'Y' AND A.FIELD IS NOT NULL)
OR (:P1_X = 'N' AND A.FIELD IS NULL)
As P1_X can only contain 'N' or 'Y', only one of the where clauses would be valid, so only one set of data would be returned.
Obviously this could be extended to test for multiple filters but should include a test for each combination.
Regards
Andy
Similar Messages
-
Create Tabular Form wizard - how to add rows to Table / View Owner list?
Create Tabular Form wizard asks to choose "Table / View Owner"
How to add additional schemas/users to this "Table / View Owner" dropdown list?Next step:
I tried to create 2nd application - and it sees and allows to select from schemas I added in previous step.
Then I tried to add 1 more schema - and 2nd application can't see it...
I create 3rd application and select 1st schema (assigned when workspace was created) - and it sees only this one schema
I create 4th application and select another schema (added in previous steps) - and it sees 2 schemas from 4 assigned
what is this?
how to live with it? -
How to create one form for two Udo object
Hy ,
I have two Object Udo (header and line)
How we created a form to manage these two files (UDO)
ThanksThank you janos
it works, I put the code to other developers for information
Shared Sub SBO_Application_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles SBO_application.ItemEvent
If ((FormUID = "SIR001_") And (pVal.ItemUID = "add") And (pVal.EventType = SAPbouiCOM.BoEventTypes.et_CLICK) And (pVal.Before_Action = False)) Then
Dim oDS As SAPbouiCOM.DBDataSource
oDS = SBO_application.Forms.Item(FormUID).DataSources.DBDataSources.Item("@SIR_LOTL")
oDS.InsertRecord(oDS.Size)
oDS.Offset = oDS.Size - 1
oform = SBO_application.Forms.Item(FormUID)
oMatrix = oform.Items.Item("mtx_0").Specific
oMatrix.AddRow(1)
End If
If ((FormUID = "SIR001_") And (pVal.ItemUID = "del") And (pVal.EventType = SAPbouiCOM.BoEventTypes.et_CLICK) And (pVal.Before_Action = False)) Then
oform = SBO_application.Forms.Item(FormUID)
oMatrix = oform.Items.Item("mtx_0").Specific
For index As Integer = oMatrix.RowCount To 1 Step -1
If oMatrix.IsRowSelected(index) = True Then
oMatrix.DeleteRow(index)
oform.Mode = SAPbouiCOM.BoFormMode.fm_UPDATE_MODE
End If
Next
End If
End Sub -
How to create a form that requires thousands of checkboxes?
Hello forum members,
I have Adobe Acrobat 8 Professional. I've been searching the internet/forums for the past few hours and I can't seem to find any information on how to create a form with many checkboxes. I do not want to have to give individual names to thousands of checkboxes. I'm hoping there's an easy solution to my problem. Maybe I don't even need to use checkboxes.
Here it is...
I'm a DJ and wedding season is coming up. For each wedding that I do, I usually give the bride and groom a list of my songs and they choose a bunch of songs that they'd like to have at their reception. In the past, I've just been sending them a webpage word document with the songs and they'd send me their selections in a different document or directly in the reply email. I'd like to make this process easy for them (and myself) by making a pdf document where they can simply place a checkmark beside the songs that they want and then send it back to me. As a bonus (if it's possible) i'd like to be able to export the songs that they selected into a separate document so that I don't have to go through the entire pdf (with thousands and thousands of songs) when they send it back to me.
I would be ever greatful if somebody help me or direct me to a link with some additional information.
Thanks in advance,
MikeGeorge, thank you very much for your quick reply and good advice.
Mike -
Quick Tip: How to create editable form fields | Acrobat X Tips & Tricks | Adobe TV
A short tip that details how to create editable form fields using Acrobat X Std. or Pro.
http://adobe.ly/wzXkmLI have created a form which will be filled out by customers and sent back to me via 'submit' button. What I am trying to figure out is when we receive the filled out form, is there any way to have it as a pdf. To clarify, when the form is filled out and sent, the receiver opens the email and attached is a non-editable pdf. This way the customers information is no longer editable.
-
How to create pdf forms in wda
how to create pdf forms in wda
hi,
check these links
https://www.sdn.sap.com/irj/sdn/adobe
https://www.sdn.sap.com/irj/sdn/interactiveforms-elearning
http://help.sap.com/saphelp_nw2004s/helpdata/en/37/47a2be350c4ac8afe36b691203971f/frameset.htm
The following links contain all the detailed information (PDF & PPT docs) on Adobe Interactive Form with examples which wil make u'r learning easier:
https://www.sdn.sap.com/irj/sdn/adobe
Improving the Performance of Adobe® LiveCycleu2122 Designer Forms(scripting)
http://www.adobe.com/devnet/livecycle/articles/lc_designer_perf_guidelines.pdf
Interactive Forms Based on Adobe Software: Overview
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e635e290-0201-0010-a9be-9e8e4ce04770
Adobe Interactive Forms
http://www.saplounge.be/Files/media/pdf/Huberland-Interactive-Forms-2007.10.10.pdf
Taking interactive forms to next level
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8c103c36-0301-0010-cda8-f6b381bedb6e
Introduction to Adobe PDF Library SDK(PDFL SDK)(Simply scroll the document)
http://partners.adobe.com/public/developer/en/webseminars/PDFL_WebSeminar.pdf
Creating Interactive forms in webdynpro for java
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5f27e290-0201-0010-ff82-c21557572da1
PDF-Based Print Forms/SAP Interactive Forms by Adobe
http://help.sap.com/saphelp_nw04s/helpdata/en/c8/4adf7ba13c4ac1b4600d4df15f8b84/frameset.htm
Date Objects in Adobe Designer
http://help.sap.com/saphelp_nw04/helpdata/en/dd/60694fddb74ad88cdb7d2a094f3dd2/frameset.htm
Checking and Testing a PDF-Based Print Form
http://help.sap.com/saphelp_nw04s/helpdata/en/c2/1fe9aa4d7b413e8515f90b73729e97/frameset.htm
Architecture
http://help.sap.com/saphelp_nw04/helpdata/en/f2/21021b911f4c0cae11459a4ce0bc62/frameset.htm
http://www.nl4b.com/Adobe/Invitation_SAPBrussels_Q407.pdf
Yogesh N -
How to create a form and show it as a modal window in VB6?
oform.modal -> modal is read-only property
help,please.Hi Santiago!
HTH: How to create a form and show it as a modal window? -
How to create arabic forms using adobe central forms
How to create arabic forms using adobe central forms
Any luck here? I have just a subset of your challenge, i.e., I want to get forms designed in Designer 8.2/Acrobat 9 to work in Reader 7.0.5
Thanks! -
How to create a form that will allow the applicant to upload their photo
I have Adobe Acrobat 9 Pro Extended and I know how to create forms that require text input.
How to create a form that will allow the applicant to upload their photo? I alo wish to know how to upload a photograph so that I can test the form I created.
Thank you
Adrian Wattstest@ORA10G> with x as (
2 select '234-1111' as customer, to_date('2-Jan-2008','dd-Mon-yyyy') as call_date, 'Order product' as reason from dual union all
3 select '234-1132', to_date('3-Jan-2008','dd-Mon-yyyy'), 'Request info' from dual union all
4 select '231-1154', to_date('4-Sep-2007','dd-Mon-yyyy'), 'Request info' from dual union all
5 select '234-1111', to_date('2-Nov-2007','dd-Mon-yyyy'), 'Order product' from dual union all
6 select '234-1132', to_date('9-Jan-2008','dd-Mon-yyyy'), 'Request info' from dual union all
7 select '231-1154', to_date('9-Sep-2007','dd-Mon-yyyy'), 'Request info' from dual union all
8 select '234-1111', to_date('5-Dec-2007','dd-Mon-yyyy'), 'Order product' from dual union all
9 select '234-1131', to_date('7-Dec-2007','dd-Mon-yyyy'), 'Request info' from dual union all
10 select '231-1154', to_date('1-Sep-2007','dd-Mon-yyyy'), 'Request info' from dual union all
11 select '234-1111', to_date('8-Jan-2008','dd-Mon-yyyy'), 'Order product' from dual union all
12 select '234-1131', to_date('3-Dec-2007','dd-Mon-yyyy'), 'Request info' from dual union all
13 select '231-1154', to_date('4-Nov-2007','dd-Mon-yyyy'), 'Forward to Sales' from dual)
14 --
15 select customer,max(call_date), reason
16 from x
17 where reason = 'Request info'
18 group by customer, reason;
CUSTOMER MAX(CALL_ REASON
231-1154 09-SEP-07 Request info
234-1131 07-DEC-07 Request info
234-1132 09-JAN-08 Request info
test@ORA10G>
test@ORA10G>pratz -
How to create a form contains a diagram
hi all ,
if there is a group of people in one table and the other table contains another group of people, and there is a relation between those groups, how to create a form or a report representing diagram for this relation. This diagram should be dynamic, when we change in the records of these people.
Which tool can I use and how?
Is there anyone who could help me? My email address is
[email protected]
or [email protected]
thanksGeorge, thank you very much for your quick reply and good advice.
Mike -
How to create a Form based on a dynamic table?
Hello,
The Select statement below creates a table based on a string (string is a value of an item):
select * from table (pkg_util.fn_get_table (:P18_VALUE))I need to create a region on a page with a Form based on this table.
I was able to create a Report, but not a Form.
I need to create a Form, which would return updated string to the page item.
How can I solve this please?Hello Gentlemen,
I have created a Tabular Form, based on APEX_ITEM API, as you suggested, here is the code below:
SELECT apex_item.checkbox (30,
CATALOG_ID,
'onclick="highlight_row(this,' || ROWNUM || ')"',
NULL,
'f30_' || LPAD (ROWNUM, 4, '0')
) delete_checkbox,
CATALOG_ID,
apex_item.hidden (31, CATALOG_ID)
|| apex_item.text (32,
LANG,
80,
100,
'style="width:100px"',
'f32_' || LPAD (ROWNUM, 4, '0')
|| apex_item.hidden (33, wwv_flow_item.md5 (LANG, DESCRIPTION)) LANG,
apex_item.text (34,
DESCRIPTION,
80,
100,
'style="width:255px"',
'f34_' || LPAD (ROWNUM, 4, '0')
) DESCRIPTION
FROM V_SYSTEM_CATALOGS_PR
UNION ALL
SELECT apex_item.checkbox
(30,
TO_NUMBER(9900 + LEVEL),
'onclick="highlight_row(this,' || ROWNUM || ')"',
NULL,
'f30_' || TO_NUMBER (9900 + LEVEL)
) delete_checkbox,
NULL,
apex_item.hidden (31, NULL)
|| apex_item.text (32,
NULL,
80,
100,
'style="width:100px"',
'f32_' || TO_NUMBER (9900 + LEVEL)
|| apex_item.hidden (33, NULL) LANG,
apex_item.text
(34,
NULL,
80,
100,
'style="width:255px" ' ,
'f34_'
|| TO_NUMBER (9900 + LEVEL)
) DESCRIPTION
FROM DUAL
WHERE :P180_TEMP = 'ADD_ROWS1'
CONNECT BY LEVEL <= 1however, the update process doe not work on that form:
DECLARE
lc_string VARCHAR2(4000);
BEGIN
FOR i IN 1..APEX_APPLICATION.G_f*30*.COUNT
LOOP
lc_string := lc_string|| '[' ||APEX_APPLICATION.G_f*32*(i) || '|' || APEX_APPLICATION.G_f*34*(i) || ']';
END LOOP;
--Database processing using the concatenated string here
END;Can you please see what's wrong with the code?
Also, I tried to set a temp. item with the value, to see if the process returns something, like that:
DECLARE
lc_string VARCHAR2(4000);
BEGIN
FOR i IN 1..APEX_APPLICATION.G_f*30*.COUNT
LOOP
lc_string := lc_string|| '[' ||APEX_APPLICATION.G_f*32*(i) || '|' || APEX_APPLICATION.G_f*34*(i) || ']';
END LOOP;
:p18_temp := lc_string;
END;and it did not work.
Also, it is the second Tabular Form on this page. The first one is created using wizard, and it works perfect, with the same update process:
DECLARE
lc_string VARCHAR2(4000);
BEGIN
FOR i IN 1..APEX_APPLICATION.G_f*01*.COUNT
LOOP
lc_string := lc_string|| '[' ||APEX_APPLICATION.G_f*03*(i) || '|' || APEX_APPLICATION.G_f*04*(i) || ']';
END LOOP;
--Database processing using the concatenated string here
END;Also, both forms are opening in a modal pop-up dialog window.
I use a Dialog Region plug-in for that.
May be this is causing a problem?
But still, the first form works fine!? -
Hello
I am needing to create a form that will display database information and also go out to a windows shared location and read a JPG image back into the form. I creating a Rolladex of sorts.
My question is I am total 100% new to forms I have never created one or been shown how to create one can anyone recommed some place on the interenet I could get a how to maybe a sample that I could create and test so that I can begin the learning process.
Or if someone is really bored today and wants to walk me thru the process that would be nice.
Thanks
Bill
Message was edited by:
user495306You can download the Developer Suite from here:
Oracle Developer Suite 10g (10.1.2.0.2)
http://www.oracle.com/technology/software/products/ids/index.html
Links to documentation and sample code can be found here:
http://www.oracle.com/technology/products/forms/index.html
Be aware that most of the documentation for Forms 9.04 and 9.0.2 apply to 10.1.2.0.2 in most cases. This may be helpful to know since there are more docs for these older versions.
That said, one of the strengths of the Forms Builder is its Wizards. Without writing any (or at least very little) code you can create a basic application. If you understand the Oracle Database and have a basic knowledge in PL/SQL you should have no problem. Of course a working knowledge of how a web server works is also help since you will need Oracle Application Server to deploy your app if you ever go into production with it. -
How to create a form or report on a view or on a sql for update
Let's suppose to have this two tables:
BOOKS(title, author, id_tongue)
TONGUE(id_tongue, tongue)
where TONGUE contains (1, english), (2, french), ...
I want to create a report and a form (for inserting new books) so as to insert the right values in the two tables.
I've created a view VIEW_BOOKS(title, author, tongue) and an instead-of-trigger to update the two tables when inserting into the view itself. The problem is that with APEX it seems to me it's only possible to define a form or report on tables or on query and not on a view.
Any advice to give me? Or other solutions?
I'm quite new on APEX
Thanks in advance!You are mistaken!! what version of apex are you on?
Select Form on a Table or View when creating a form using wizard
See this http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/bldapp_frm.htm#HTMDB05029 -
How to create a form based on table using dynamic page?
Hi,
I need to create a form using dynamic page. How do you pass values from the html form to a oracle procedure that will get executed on submission of the form ? I could not find any documents which shows how to do that. Can anyone please help me out with an example ?
thanks,
MainakHi,
Something seems to get added to the form action because of "http". Hence I am removing it.
You need to write a procedure with the values in the as parameters. Say for example you want to insert a record into dept
table then
Dynamic page code
<html>
<body>
<form action="portalschema.insert_dept">
<input type="text" name="p_deptno">
<input type="text" name="p_dname">
<input type="submit" name="p_action" value="save">
</form>
</body>
</html>
Procedure code.
create or replace procedure insert_dept
(p_deptno in number,
p_dname in varchar2,
p_action in varchar2)
is begin
if p_action = 'save' then
insert into scott.dept(deptno,dname) values(p_deptno,p_dname);
commit;
end if;
end;
grant execute on insert_dept to public;
Hope this helps.
Thanks,
Sharmila -
How to create a form based on table@databaselink
I have created a database link under OracleXe to access an Oracle 9i and it works very well. I can manually access the tables that I like to see. Want to experiment to create a form under HTMLDB based on a table from another database that I have created DataLink to. When I go choose Create Application in HMTLDB and then select Form from page type under table or view I tried to do this tablename@databaselink but it seems it can not find the table this way. Any idea how to do this?
ThanksMike,
As I am trying to test and learn more about htmldb I was trying to get some data from oracle 9i to oracleXe, create some forms, reports and etc. At first I tried to use views and forgot to add the primary key, got the error so I posted the message on the board.
Then I did try out the long way creating tables with package and procedure and some other fun stuff to create an application which by the way it worked very well. Then I created some users and changed some password. When I tried again to run the application I start getting invalid login credentials. After many attempts finally I went home, as I was driving home I thought about something and at home I tried it.
I did some testing and noticed if I create a user under admin say userA+passwordA then login with userA+passwordA, create a table and then create an app base on that table and then run the app, with userA+passwordA I can login and app works perfectly. Then I logged out and as admin logged in, changed the userA password to passwordB. I logged out and logged in with userA+passwordB and then when I tried to run the app I get the invalid login credentials, when I change the passwordB to passwordA the app will works again. This is suppose to be this way!
Again thanks to all
Maybe you are looking for
-
I cannot turn "off" my connection to the old harddrive, how can I start syncing my iphones, ipod to this new computer?
-
Is the iPod touch 64gb suppose to store 14,000 songs
Is the iPod touch 64gb suppose to store 14,000 songs
-
Customer wise Materials Quantity target
Hi all, The requirement is as below, For customers we would like to set sales quantity targets, like for 1 custoimer specifically combined for 10 materials we will set 5 Tons target,when we have done dispacthes of 5 ton of those specific materials(ca
-
I have converted AS2 Carousel to AS3 and it works fine without swapDepth line, which is: this.swapDepths(Math.round(this._xscale) + 100); I need to convert this line to AS3 ... it's very important because it prevents overlapping between layers. the p
-
Display Condition Type - Error
Hello Experts, I am trying to display a Custom Condition Type (ZCTY) on VK13 Transaction. But It's giving me an error: Rebate condition ZCTY is not defined for this transaction Message no. VK028 Diagnosis You have attempted to process rebate