Zeroanarchy
Technical User
Ok having a bit of a prob with the below code any one got any ideas? It keeps pointing to "Linked,
error message: expected end of statement
I thought maybe "linked" was a reserved word but it does not seem to be.
This is the code
I tried the below code but still no go.
any ideas?
Thanks for your time
ZeroAnarchy
Experience is a wonderful thing. It enables you to recognize a mistake
when you make it again.
error message: expected end of statement
I thought maybe "linked" was a reserved word but it does not seem to be.
This is the code
Code:
DoCmd.RunSQL "UPDATE s_Visithistory SET s_Visithistory.issuenote = "Linked to issue no. " & [Forms]![Form1]![Submain].[Form]![sitesubform].[Form]![issuecode]WHERE (((s_Visithistory.keyrow)=[Forms]![Form1]![Submain].[Form]![sitesubform].[Form]![Mainno]))"
I tried the below code but still no go.
Code:
DoCmd.RunSQL "UPDATE s_Visithistory SET s_Visithistory.issuenote = ('"Linked to issue no. "' & '"[Forms]![Form1]![Submain].[Form]![sitesubform].[Form]![issuecode]"')WHERE (((s_Visithistory.keyrow)=[Forms]![Form1]![Submain].[Form]![sitesubform].[Form]![Mainno]))"
any ideas?
Thanks for your time
![[afro] [afro] [afro]](/data/assets/smilies/afro.gif)
Experience is a wonderful thing. It enables you to recognize a mistake
when you make it again.