Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pass a variable to SQL statement.
Message
From
31/01/2008 23:53:19
 
 
To
31/01/2008 22:51:15
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
01287831
Message ID:
01287840
Views:
11
Thanks Bernard but no... is not working. Lets suppose I type D as value in text box. I get this error message:
SQL: column 'D' not found.

This is my exact code in textbox LOST FOCUS event.

PUBLIC Nom
Nom=" "
STORE ALLTRIM(THIS.VALUE) TO Nom
THISFORM.combo2.ROWSOURCE=" "
THISFORM.combo2.ROWSOURCE="select nombres from alumnos where nombres LIKE " + Nom + " into cursor listnom"

Thanks in advance for your time
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform