N
Nylex
I am having a problem with making a new entry
The following trial run worked:
strSQL = "Insert Into OrderDetails (OrderID, ProductID, UnitPrice)
values (123456, 2, 99.00)"
CurrentDb.Execute strSQL, dbFailOnError
Response = acDataErrAdded
This doesn’t
strSQL = "Insert Into OrderDetails (OrderID, ProductID, UnitPrice)
values (Me![OrderNo], Me![CleanDesc] , Me![InvAmount)"
CurrentDb.Execute strSQL, dbFailOnError
Response = acDataErrAdded
I even took out Me! – still doesn’t work
The following trial run worked:
strSQL = "Insert Into OrderDetails (OrderID, ProductID, UnitPrice)
values (123456, 2, 99.00)"
CurrentDb.Execute strSQL, dbFailOnError
Response = acDataErrAdded
This doesn’t
strSQL = "Insert Into OrderDetails (OrderID, ProductID, UnitPrice)
values (Me![OrderNo], Me![CleanDesc] , Me![InvAmount)"
CurrentDb.Execute strSQL, dbFailOnError
Response = acDataErrAdded
I even took out Me! – still doesn’t work