Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error when savings words within quotation
Message
De
03/05/2006 11:21:00
Sergio Ortiz
Tek Services Group, Llc
Hollywood, Floride, États-Unis
 
 
À
Tous
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Titre:
Error when savings words within quotation
Divers
Thread ID:
01118807
Message ID:
01118807
Vues:
58
I have a form in VFP which allows the user to enter notes. The notes are store in vfp cursors and then sent to the sql server database.

The field type that I use in SQL Server to save the note is of type Text.
The problem is that will not allow me to save words within a quotation mark.
For example : "civil".

If I remove the quotation mark I am able to save without a problem.

Here is the error that I get :
Connectivity error: [Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near "civil".ODBC Error Message: [Microsoft][ODBC SQL Server Driver][SQL Server]Line 1: Incorrect syntax near "civil".ODBC SQL state: 37000ODBC data source Error #: 170ODBC Connection Handle: 1
Does anybody know how to solve this problem?

Thanks,
Sergio
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform