Got a simple piece of SQL to run from VBA
DoCmd.RunSQL ("UPDATE tblAccountDetails " _
& "SET Flip_SFA = 'Y' " _
& "FROM tblAccountDetails,tblFlipOnBalance " _
& "WHERE tblAccountDetails.Original_SFA = tblFlipOnBalance.SFA_Category"
The sql runs in via other tools succesfully but ACCESS does n't like it.
I know its something to do with syntax on the fields, any one got any ideas as its really frustrating.
TIA
Jason
DoCmd.RunSQL ("UPDATE tblAccountDetails " _
& "SET Flip_SFA = 'Y' " _
& "FROM tblAccountDetails,tblFlipOnBalance " _
& "WHERE tblAccountDetails.Original_SFA = tblFlipOnBalance.SFA_Category"
The sql runs in via other tools succesfully but ACCESS does n't like it.
I know its something to do with syntax on the fields, any one got any ideas as its really frustrating.
TIA
Jason