Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form variable in combobox rowsource
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Form variable in combobox rowsource
Divers
Thread ID:
00936474
Message ID:
00936474
Vues:
58
In the rowsource of a combobox I have the following code:

SELECT descriptio, repertoire FROM pco WHERE pco.idper = thisform.cformid ORDER BY descriptio INTO CURSOR curFormul

and the where clause does not work: I get all the records.

If I hard code thisform.cformid (which holds the correct value) as follows:

SELECT descriptio, repertoire FROM pco WHERE pco.idper = "0000000003" ORDER BY descriptio INTO CURSOR curFormul

it works.

Does this mean that I cannot use a form variable in a combobox rowsource or should I do something different?

Thanks
Raymond
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform