Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pass a variable to SQL statement.
Message
From
01/02/2008 12:58:51
 
 
To
01/02/2008 07:24:33
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
01287831
Message ID:
01288202
Views:
14
What if we had a situation that effectively did something like the following (by entering appropriate value in a textbox in an entry screen)?

THISFORM.xVariable = "';drop table table1;"

I'm not sure if VFP interprets the query directly or if it simply passes it to the SQL backend. If it passes the query the backend you could be in for a nasty suprise.
Previous
Reply
Map
View

Click here to load this message in the networking platform