Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ADO, CURSORADAPATER and Parameters
Message
De
30/12/2004 06:28:00
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
00973221
Message ID:
00973223
Vues:
18
Am I missing something fundamental here?

If it works with a literal SQL statement, why not just


pcDescript = "English"
lcSQL = "SELECT Id,Descript,lDescript,lDescriptBin from ForeignData where descript='" + ALLTRIM(pcDescript) + "'"


You'll need to check pcDescript if it's entered by the user at it could potentially contain extra SQL clauses. SQL insertion has had me once before

Like I said, this might be me barking up the wrong tree
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform