Creating a form that populates multiple tables
Hi,
I need to create a registration form which inserts data into multiple tables (USERS (master-table), PHONES, ADDRESSES, EMAILS, etc) at once. I've been looking through the docs and the only way I've found yet is to build the form on a procedure. Other methods have restriction on using maximum of 2 tables.
What is the best approach for building a form on multiple tables in htmldb?
Either do it on a procedure, or simply write the insert in Process yourself:declare
l_new_deptno number;
begin
insert into dept(dname)vales(:P1_DNAME) returning deptno into l_new_deptno;
insert into emp(ename,sal,deptno)
values (:P1_NAME,:P1_SALARY,l_new_deptno);
end;Thanks,
Tyler
Similar Messages
-
Creating a form that allows multiple Digital Signatures
I am trying to make a PDF form that allows multiple users to sign different portions of a single form. I have created the form and inserted the Digital signature fields. Which if I use my Acrobat 8 Professional to open I am able to sign each different signature field independantly, but if the form is opened in just Reader 8 it will not allow singing of any digital signature field at all. Seems the security settings revert to a default of not allowing the form to be signed. Anyone able to help, if I have not provided enough information please let me know as I am pretty new to LiveCycle.
The previous post is correct. Reader will not allow you to sigh an form unless it has been reader extended to enable the signing functionality. Acrobat pro or LiveCycle Reader Extensions can be used for this.
Regards
Steve -
How to create a function that returns multiple rows in table
Dear all,
I want to create a funtion that returns multiple rows from the table (ex: gl_balances). I done following:
-- Create type (successfull)
Create or replace type tp_gl_balance as Object
PERIOD_NAME VARCHAR2(15),
CURRENCY_CODE VARCHAR2(15),
PERIOD_TYPE VARCHAR2(15),
PERIOD_YEAR NUMBER(15),
BEGIN_BALANCE_DR NUMBER,
BEGIN_BALANCE_CR NUMBER
-- successfull
create type tp_tbl_gl_balance as table of tp_gl_balance;
but i create a function for return some rows from gl_balances, i can't compile it
create or replace function f_gl_balance(p_period varchar2) return tp_tbl_gl_balance pipelined
as
begin
return
(select gb.period_name, gb.currency_code, gb.period_type, gb.period_year, gb.begin_balance_dr, gb.begin_balance_cr
from gl_balances gb
where gb.period_name = p_period);
end;
I also try
create or replace function f_gl_balance(p_period varchar2) return tp_tbl_gl_balance pipelined
as
begin
select gb.period_name, gb.currency_code, gb.period_type, gb.period_year, gb.begin_balance_dr, gb.begin_balance_cr
from gl_balances gb
where gb.period_name = p_period;
return;
end;
Please help me solve this function.
thanks and best reguardhi,
Use TABLE FUNCTIONS,
[http://www.oracle-base.com/articles/9i/PipelinedTableFunctions9i.php]
Regards,
Danish -
1. How to create an explain plan with rowsource statistics for a complex query that include multiple table joins ?
When multiple tables are involved , and the actual number of rows returned is more than what the explain plan tells. How can I find out what change is needed in the stat plan ?
2. Does rowsource statistics gives some kind of understanding of Extended stats ?You can get Row Source Statistics only *after* the SQL has been executed. An Explain Plan midway cannot give you row source statistics.
To get row source statistics either set STATISTICS_LEVEL='ALL' in the session that executes theSQL OR use the Hint "gather_plan_statistics" in the SQL being executed.
Then use dbms_xplan.display_cursor
Hemant K Chitale -
How to alter a Form to modify multiple tables
I want to create a form that will insert or update into multiple tables at once.
I have provided a picture of what i have in mind: http://imageshack.us/photo/my-images/21/custformexample.jpg
In this example I have 3 tables:
Customer (Cust_ID, Name,Address,Email,Phone);
Account_Manager(AM_ID, Name,Address,Email);
Customer_Account_Managers(Cust_ID,AM_ID);
A customer can have 0 to many Account Managers.
I have created a form on table with report with which I can see a report of all customers and click Edit to edit a customer or Create to create a new one.
In this form I want to add a select list that includes all Managers (I know how to create a select list and how to access it's value). I also want a report on the Account Managers which are associated with the customer, and I want to be able to add to this list, which will be saved into the Customer_Account_managers table as soon as i click Save.
Please provide me with some tips as to how to do this.
Thanks a lot!Always include the following information when asking a question:
<ul>
<li>Full APEX version</li>
<li>Full DB/version/edition/host OS</li>
<li>Web server architecture (EPG, OHS or APEX listener/host OS)</li>
<li>Browser(s) and version(s) used</li>
<li>Theme</li>
<li>Template(s)</li>
<li>Region/item type(s)</li>
</ul>
popovitsj wrote:
I want to create a form that will insert or update into multiple tables at once.
I have provided a picture of what i have in mind: http://imageshack.us/photo/my-images/21/custformexample.jpg
In this example I have 3 tables:
Customer (Cust_ID, Name,Address,Email,Phone);
Account_Manager(AM_ID, Name,Address,Email);
Customer_Account_Managers(Cust_ID,AM_ID);
A customer can have 0 to many Account Managers.
I have created a form on table with report with which I can see a report of all customers and click Edit to edit a customer or Create to create a new one.
In this form I want to add a select list that includes all Managers (I know how to create a select list and how to access it's value). I also want a report on the Account Managers which are associated with the customer, and I want to be able to add to this list, which will be saved into the Customer_Account_managers table as soon as i click Save.You can create a database views based on these tables, and create a instead of insert/update/delete trigger to populate the corresponding tables when fired.
Create an APEX form using wizard based on this database view. -
My table has a list of names with product information in corresponding columns. I want to create a form that I can import this into where every row makes a new part of the form list I create. Is this possible?
Example of what I have in excel:
Name
Product 1
Product 2
Product 3
Total
a
1
2
3
6
b
0
3
4
7
c
1
3
4
8
d
1
3
5
9
Example of what I want in Form:
Customer a 1 2 3 6
Customer b 0 3 4 7
etc.
I want to put this info into a form to make it more presentable. Can anyone help me with this?Look at the Import/Export form data functionalities already built-in into Acrobat.
-
I want to create a form that I can change at an instance that will store the information without replacing it: Here are examples of what i have:
This is the form: The True/False in column B are actually check boxes
Date
Job Name
Start
End
Hours Worked
Per Diem
Wednesday, Mar 5, 2014
Duke University
7:30 PM
2:30 AM
7.00
Arellano, Paul
TRUE
Wednesday, Mar 5, 2014
Duke University
7:30 PM
2:30 AM
7.00
0.00
Blackwell, Zach
FALSE
Christian, Charles
TRUE
Wednesday, Mar 5, 2014
Duke University
7:30 PM
2:30 AM
7.00
0.00
Christian, John
FALSE
Currence, John
FALSE
Curtis, Brandon
FALSE
Hawkins, Tyre
FALSE
King, Corey
FALSE
Nunez, Jose
FALSE
Rangel, Antonio
FALSE
Rice, Eric
FALSE
Salgado, Ricardo
FALSE
and the sheet that the index to looks like:
Saturday, Mar 15, 2014
Rice, Eric
Providence College
9:00 AM
7:30 PM
10.50
1
Saturday, Mar 15, 2014
Rice, Eric
Virginia Beach
7:30 PM
2:30 AM
7.00
Saturday, Mar 15, 2014
Salgado, Ricardo
0.00
Sunday, Mar 16, 2014
Arellano, Paul
Providence College
7:00 AM
8:00 PM
13.00
1
Sunday, Mar 16, 2014
Blackwell, Zach
0.00
Sunday, Mar 16, 2014
Christian, Charles
0.00
Sunday, Mar 16, 2014
Christian, John
0.00
Sunday, Mar 16, 2014
Currence, John
Providence College
7:00 AM
8:00 PM
13.00
1
Sunday, Mar 16, 2014
Curtis, Brandon
0.00
I want to be able to fill out the form and it place itself into Sheet 1 without changing everytime. I can index the array from the form, but it changes everytime.You think it would be the other way around.
Just speculation, but forms probably came to iOS first because of likely use for data entry in the field that syncs back to the Mac. On a small screen with a touch interface, forms make inputing values easier.
On the Mac, with its bigger screen, typing directly into a data table often works well enough.
SG -
Does anyone know the best way to create a form that you can do a mail merge with?
I have been asked to create a form that can be used to do a mail merge. At first I thought I could create it in indesign and then pdf the file and do form fields right in the pdf, but I'm not sure if you can do a mail merge with data in an excel file and a pdf file containing form fields.
The other option I know I could use is a Word file and excel, but I don't think the functionality is as good as in a pdf (like addition of percentages, or error messages, radio buttons, etc.). And I do need to be able to do a mail merge. Anybody have any suggestions?There is not built-in feature for this, but it can be done with scripting. The problem is it can be a bit complicated, and it more complicated to decribe in much detail in a forum posting. It involves creating the base form and making the pages templates. You can export from Excel to a tab delimited text file. You can then either programmatically create a template-based FDF that when loaded into Acrobat populates the PDF form, creating as many individual forms as needed, or using JavaScript in Acrobat to read the data file and generate as many individual forms as needed. Both approaches involve a similar amount of programming, but they're quite different.
You might want to look into this product, which apparently is no longer available but may be come back soon: http://www.debenu.com/products/eol/arts-pdf-variform-lite/ -
I am creating a form on LiveCycle Designer and I am trying to create a form that has a e-mail submit button. When the button is utilized it attaches the form to the e-mail in an plain text .xml format rather than the pdf format. Is there a quick fix?
Hi,
You have the choice between xml or pdf, in later versions of designer you can choose with a dropdown on the email button Object palette, the "Submit As";
In earlier version you had to edit the XML Source and change the format from xml to pdf (or vice-versa);
Regards
Bruce -
How do you create a form that has user permissions per form field for different user?
I need to create a form that is used by multi people but each user needs to fill out different fields within the form. I need the first user to make selections from a list and save it to send to another (the selection fields then need to be locked). Then the other user checks one of the selections made by the first user and saves the document to send back to the first user. Not sure if this is possible. I would like the first form field selections not to even show as a highlighted field to the other user (like just be more like a text field). I want the document to be able to be used more than once. The list selections will change and need to be sent to the other user at least once a month or more. Has anyone done this?
There's no built-in way to do that, but it's probably doable using a custom-made script to hide and/or lock the fields.
-
Hello there, I am creating a database of all our companies press contacts. I would like to create a form that would act as the front end and feed the database which is obviously the back end. The database is in Access 2013. My question is to whether this is indeed possible?
This forum thread appears to point towards the problem.
Re: Unable to Switch Audio Sync Settings -
How do I create a form that can be edited, then mailed, then edited again?
I am trying to create a form that would be emailed to one person, they would complete part of it, email it on to a second user who would then complete another part based on the input from the first, and then forward it onto a third for their input.
the issue I have is that once the second person enters their information, they can not save their additions and continue the process.
any help would be greatly appreciated.Interactive forms cannot be saved locally using Reader. To do local save you either have to have Acrobat on each desktop or have the form Reader-extended to enable local save in Reader. A form is Reader-enabled using the LiveCycle Reader Extensions server component.
Steve -
I have created a form that contains fields with default text for a user to update/personalize. Is there a way to style the text so I can quickly identify changes to default text in a field?
George - Thanks you so much! Actually, i'd love for the text color to be red font color. Could you send me the script for that? And I assume I just copy and paste the script into the field properties (see screenshot)?
thanks again!
Seth -
Two forms that update differrent tables on the same page?
I tried to add two forms that update different tables on to one page.
Problem is when I do that the forms gives me an error saying the field does not exist. It's like it is trying to update one table with the other tables fields.
As an example Say I have one forms that is for people table and another one that is the Jobs table.
When I go to update the people table, it sends the data for the jobs fields too I get an error like the field job description does not exist.
I have two different forms for these and everything.
I would hope it is possible to have two forms that update different tables on the same page.I was trying the exact same thing, but i managed to work round it by setting the steps to hide one region, so the user would enter the form see one region submit the region then direct back to the same page with the different region visible and the original hidden.
I don't know if this would be acceptable for you... -
Create fillable forms that automatically fill out a letter
Hi, so I'm new to acrobat (and adobe in general) and I wnated to know if anyone had a way of doing this. So what I want to do is to create a form that takes people's information. It will take things like Names, Phone numbers, emails, etc. Then, it will ask them to choose what kind of form they want to create. So, it could be a letter, or a memo, whatever. Based on their choice, I then want to make another form, with all of their information filled in for them, appear. I've made a form for the first part, but I would like to know if anyone could explain how to do the second part, where it creates the new page for me.
If the end user is using Adobe Reader to fill this out then no, it isn't possible.
I can say whether it would be possible if all parties are using Adobe Acrobat but I doubt that it is.
You chould probably look in to creating a web application that can generate a PDF.
Maybe you are looking for
-
Audio Inputs no longer work after upgrade to 10.4.10
Anyone else having trouble with audio inputs after upgrading to 10.4.10? Here's my deal: MacPro dual 2.66, 4GB RAM, running 10.4.10 as of this morning. Upgraded to 10.4.10 today and the mic on my Plantronics USB headset quit working. 'Phones still wo
-
Mystery Exception: Failed to load or instantiate TagLibraryValidator class
I am having trouble with getting a class to load when I access a JSP which uses JSTL: org.apache.jasper.JasperException: /hello.jsp(1,1) Failed to load or instantiate TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLV org.apa
-
Workflow -Auto forward for next level for decision with object (PR)
Dear All, I am working on PR release through workflow, with three level release codes. I need your help in setting:- Example: In case PR received through workflow at 1st level for release code Z1, and if he could not able to release it within 5 Min,
-
Connectivity to Intranet sites : Security popup
Hi all, We have provided connection to many intranet sites of clients network as URL iView on portal. These sites work perfectly whenever opened directly in browser. When I try to open the same site through portal (URL iView), I get a popup which ask
-
I was scrolling down and I think I pushed the scroll wheel down then everything went small . It works fine on google chrome and internet explorer but they are both sooooo slow !