Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL Update syntax
Message
De
11/09/2001 14:27:39
 
 
À
11/09/2001 13:30:41
Information générale
Forum:
Microsoft Office
Catégorie:
Access
Divers
Thread ID:
00555230
Message ID:
00555250
Vues:
14
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform