I have hit a snag and I'm unsure on what the best way to tackle this issue using Oracle ApEx.
Basically I have a form that is based off Table1 but at the same time, a section/region within this form branches to another page where it then adds details into Table2.
To expand on this with a better example, let's say that I have a table called CUSTOMER which holds personal details of the customer, such as CUST_ID, FIRSTNAME, SURNAME, DOB and then I also have another table called PURCHASES with the following columns, PURCHASE_ID, CUST_ID, ITEM, ITEM_DESCR, COST with CUST_ID being a foreign key to CUSTOMERS table.
I now want to create an Oracle Apex form based off the table CUSTOMER but within this same form, prior to the user submitting and committing the form to the database, I also want to allow the user to add all the purchases the customer was buying at the store by a means of some sort. Once the user has entered the customer details together with say 5 purchase records (in some way), all is submitted and committed to the database for both the CUSTOMER and PURCHASES tables.
Is there a way around this or possibly other alternatives around this type of situation?