i have two table
one is invoicedetails and another one is productdetails
invoicedetails have (invoiceid,invoiceno,firmname and invoice date)field in table and invoice id is primary key
and productdetails have (productid,name,description,qty,price and invoiceid)field where productid is primary key and invoiceid is foriegn key with respect to invoicetable
now i want to insert multiple product details in productdetails table using single invoice id how could i achieve that can any one help me