L
Les
Despite repeated attempts I cant master this Update syntax
All I want to do is update one field in its own table. Having attempted
numerous combinations I still get "Expected parameter error 1"
I have stopped the code and viewed the intItemsInList variable and it looks
ok to me. But obviously not OK!
Can someone please guide me on this thanks
Les
Dim intItemsInList As Integer
intItemsInList = numNumber_of_Order_Items
strsql = "Update tblItem_Count Set numQuantity = " & intItemsInList
CurrentDb.Execute strsql, dbFailOnError
All I want to do is update one field in its own table. Having attempted
numerous combinations I still get "Expected parameter error 1"
I have stopped the code and viewed the intItemsInList variable and it looks
ok to me. But obviously not OK!
Can someone please guide me on this thanks
Les
Dim intItemsInList As Integer
intItemsInList = numNumber_of_Order_Items
strsql = "Update tblItem_Count Set numQuantity = " & intItemsInList
CurrentDb.Execute strsql, dbFailOnError