Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADO, CURSORADAPATER and Parameters
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00973221
Message ID:
00973223
Views:
17
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform