T
TRM
I am getting an error - "object needed" on the following
code. Specifically the line with the **. I have tried
using ' "Received" ' instead of the variable - which gave
me a different error. There is a value in the intOrder
and a matching record in the "transactions" table.
Suggestions??
Dim strR As String
strR = "Received"
Me!txtTotRecd = (Me!txtTotRecd + Me!txtTonRecd)
Me!txtTotRecd.Requery
If (Me!txtTotRecd) >= (Me!txtTotalOrder) Then
MsgBox ("This order is complete. The date and
transaction type will be updated.")
** db.Execute "UPDATE Transactions SET
Transactions.TransactionType= """ & strR & """ WHERE
(Transactions.OrderID = " & intOrder & ")"
db.Execute "UPDATE Transactions SET
Transactions.Completed = "" # dteToday # "" WHERE
((Transactions.OrderID = " & intOrder & "))"
code. Specifically the line with the **. I have tried
using ' "Received" ' instead of the variable - which gave
me a different error. There is a value in the intOrder
and a matching record in the "transactions" table.
Suggestions??
Dim strR As String
strR = "Received"
Me!txtTotRecd = (Me!txtTotRecd + Me!txtTonRecd)
Me!txtTotRecd.Requery
If (Me!txtTotRecd) >= (Me!txtTotalOrder) Then
MsgBox ("This order is complete. The date and
transaction type will be updated.")
** db.Execute "UPDATE Transactions SET
Transactions.TransactionType= """ & strR & """ WHERE
(Transactions.OrderID = " & intOrder & ")"
db.Execute "UPDATE Transactions SET
Transactions.Completed = "" # dteToday # "" WHERE
((Transactions.OrderID = " & intOrder & "))"