Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with SQL UPDATE via SQLEXEC
Message
De
10/04/1998 16:52:04
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Problem with SQL UPDATE via SQLEXEC
Divers
Thread ID:
00091200
Message ID:
00091200
Vues:
70
I've been fighting this problem for several hours and I'm getting no where. I hope someone out there can help. Basically I have the exec string being built as follows:
ccmd = "update clmlog set descrip='" + thisform.edbDescrip.value +; "' where recno()=13"

iErr = sqlexec( iConn, ccmd )

The edbDescrip control is an editbox and if there are no carriage returns within it then this works fine, however, one or more carriage returns within the control gives me an odbc error "37000 - Command contains unrecognized phrase/keyword" when submitted to the sqlexec function. Does anyone have any ideas?

Thanks,
Larry Wainwright
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform