inserting multiple records in table through tabular form [message #549554] |
Sun, 01 April 2012 07:25 |
|
furqan
Messages: 115 Registered: January 2012 Location: Hyderabad
|
Senior Member |
|
|
hi all
i have a master-detail form.
detail block is tabular.
when-button-pressed trigger iam inserting records
in another table.i write
insert into ONHAND_QTY_LOCATION(sno,matid,matcode,description,partno,onhand_qty,location)
values (:ship_dtl.slno,
:ship_dtl.mat_id,
:ship_dtl.mat_code,
:ship_dtl.description,
:ship_dtl.part_no,
:ship_dtl.rec_qty,
:ship_mstr.place_from)
it is inserting only one record in onhand_qty_location table that too the last record.
i want all the records which iam entering in detail block should get entered in onhand_qty_location table.
thanks in advance.
|
|
|
|
|
|
|
|
|
|
Re: inserting multiple records in table through tabular form [message #549576 is a reply to message #549565] |
Sun, 01 April 2012 13:37 |
|
furqan
Messages: 115 Registered: January 2012 Location: Hyderabad
|
Senior Member |
|
|
I really thanks Mr.baba and all other.mr.baba it worked.
thank you all really a lot and also appreciate your interest
in guys like me with not much knowledge.but answers from expert like you guys really encourage us.
I tried to download pre_insert_tabular.fmb but was not successful.so i tried your post's coding.
thanx again.
|
|
|