D
DMWM
Hi,
I can't seem to get this to work i keep getting an error on the DBEngine
line of code. Can anyone help please?
'Duplicate the related records: append query.
strSql = "INSERT INTO [tblProducts_Quoted] (Product_ID,
Quantity, Actual_Price, Item_Specifics) " & _
"SELECT Product_ID, Quantity, Actual_Price,
Item_Specifics " & _
"FROM [tblProducts_Quoted] WHERE Products_Quoted_ID = "
& Me.Products_Quoted_ID & ";"
DBEngine(0)(0).Execute strSql, dbFailOnError
I don't fully understand all of this code to be able to work it out myself.
Any help is greatly appreciated.
DMWM
I can't seem to get this to work i keep getting an error on the DBEngine
line of code. Can anyone help please?
'Duplicate the related records: append query.
strSql = "INSERT INTO [tblProducts_Quoted] (Product_ID,
Quantity, Actual_Price, Item_Specifics) " & _
"SELECT Product_ID, Quantity, Actual_Price,
Item_Specifics " & _
"FROM [tblProducts_Quoted] WHERE Products_Quoted_ID = "
& Me.Products_Quoted_ID & ";"
DBEngine(0)(0).Execute strSql, dbFailOnError
I don't fully understand all of this code to be able to work it out myself.
Any help is greatly appreciated.
DMWM