I have created a form with two textbox items and one editable datagrid in oracle apex form. Now i want to store those two items data along with this grid's records in single database table as we can do in invoice form. My items are in form region and grid is in its sub region. How to write the insert query. I have written a query but its storing only form items data but not grid's data.
my query as follow :
insert into FOREIGN_SAMPLE (REF_NO,PARTY_NAME,PRODUCT_NAME)
values (:P22_REF_NO,:P22_PARTY_NAME,:PRODUCT_NAME);
Here, PRODUCT_NAME is field of grid view and other 2 are form items.