Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pass a variable to SQL statement.
Message
De
31/01/2008 23:53:19
 
 
À
31/01/2008 22:51:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
01287831
Message ID:
01287840
Vues:
12
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform