mysql - Inserting multiple rows/records into another table from a filtered report -
i'm having trouble inserting multiple rows/records table filtered report when user clicks on checkout.
image of report (as have less 10 rep): http://s12.postimg.org/otm0pl8cs/untitled_1.jpg
'inserts books in order details table dim strorderdetailsql string strorderdetailsql = "insert order_details (orderno, isbn, quantity) values ('5', isbn_cart, quantity_cart)" docmd.runsql strorderdetailsql
where order number 5 test value. how can have insert filtered records report?
as stands, inserts first record, not both.
something
insert tablea(column1,column2,...) values select othercolumn1, othercolumn2,... bla bla..
(i have used similar query in postgres)
Comments
Post a Comment