SQL Update

IanT

Registered User.
Local time
Today, 17:33
Joined
Nov 30, 2001
Messages
191
I am using SQL to update a table using a form, code below:

strSQL = "INSERT INTO tblQuote ( ProductIDNumber, Range )
"SELECT tblProductData.ProductIDNumber, tblProductData.Range, " & _
"FROM tblProductData " & _
"WHERE tblProductData.FilterDescription" & strcboProdDesc & _
"AND tblProductData.Supplier" & strcbo1 & _
"AND tblProductData.CaseWeight" & strcbo2 & _
"ORDER BY tblProductData.FilterDescription;"

What I would like to do is attach data on the form and update the table with this data at the same time. IE The date and time which would be stored in a text box. Can anyone help!
 

Users who are viewing this thread

Back
Top Bottom