BLeslie88
B Leslie
- Local time
- Today, 02:04
- Joined
- May 9, 2002
- Messages
- 228
Doing an update query - and...
when user enter "it's"
the '
Because it crashed - I will do a few tests such as change string to text...
Any tips clues appreciated.
DoCmd.RunSQL ("UPDATE tblAddress INNER JOIN tblInventory ON tblAddress.CUSTNO = tblInventory.CustNo SET tblAddress.FAXDESCFR = '" & Str2 & _
"', tblAddress.FAXDESCGR = '" & Str1 & "' where tblInventory.CreditRep = '" & Str3 & "' and tblAddress.LANG = 'French';")
when user enter "it's"
the '
Because it crashed - I will do a few tests such as change string to text...
Any tips clues appreciated.
DoCmd.RunSQL ("UPDATE tblAddress INNER JOIN tblInventory ON tblAddress.CUSTNO = tblInventory.CustNo SET tblAddress.FAXDESCFR = '" & Str2 & _
"', tblAddress.FAXDESCGR = '" & Str1 & "' where tblInventory.CreditRep = '" & Str3 & "' and tblAddress.LANG = 'French';")
Last edited: