Skip to Main Content

APEX

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to alter a Form to modify multiple tables

popovitsjMay 26 2012 — edited May 26 2012
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!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 23 2012
Added on May 26 2012
9 comments
288 views