3075 error

abzalali

Registered User.
Local time
Tomorrow, 03:33
Joined
Dec 12, 2012
Messages
118
Dear Expert,
Getting 3075 syntax error to insert current date:
Code:
        DoCmd.RunSQL "UPDATE tblTransactionsDetail " & _
             "SET tblTransactionsDetail.ReceivedDate = " & todaysDate & ", tblTransactionsDetail.Received = 'Yes'" & _
             "WHERE (((tblTransactionsDetail.TranDetailID) = " & Me.TranDetailID & "))"

Please help me.

Thanks
Mir
 
.... SET tblTransactionsDetail.ReceivedDate = #" & Format(todaysDate,"mm/dd/yyyy) & "#, ....
 

Users who are viewing this thread

Back
Top Bottom