hi,
I have the following statement:
where DocTypeID is a list (I have the user select checkboxes and I want to log their selections into the table). I do not know how to insert a list. The commodity code, discletter, tagnumber will be the same for say 5 DocTypeIDs (if the list contains 5 selections).
Can anyone help?
Thanks so much in advance.
I have the following statement:
Code:
stSQL = "INSERT INTO tblVendorDeliverableLog(CommodityCode, DiscLetter, TagNumber, DocTypeID) VALUES ('" & Nz(Me![txtCommodityCode], 0) & "', '" & Nz(Me![txtDiscLetter], 0) & "', '" & Nz(Me![txtTagNumber], 0) & "'"
CurrentDb.Execute (stSQL)
where DocTypeID is a list (I have the user select checkboxes and I want to log their selections into the table). I do not know how to insert a list. The commodity code, discletter, tagnumber will be the same for say 5 DocTypeIDs (if the list contains 5 selections).
Can anyone help?
Thanks so much in advance.