Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Update syntax
Message
From
11/09/2001 14:27:39
 
 
To
11/09/2001 13:30:41
General information
Forum:
Microsoft Office
Category:
Access
Miscellaneous
Thread ID:
00555230
Message ID:
00555250
Views:
15
This message has been marked as the solution to the initial question of the thread.
>Does anyone know what the correct syntax for an update command is?
>
>I tried the following with no luck:
>
>
DOCMD.RunSQL("Update mytable Set myfield = "FRED" WHERE myfield2 <> 9 ")
You have to escape the quotes or use single quotes:
DOCMD.RunSQL("Update mytable Set myfield = 'FRED' WHERE myfield2 <> 9 ")
HTH
Previous
Reply
Map
View

Click here to load this message in the networking platform