Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using a variable for the rowsource value
Message
De
22/11/2002 13:38:48
 
 
À
22/11/2002 13:29:03
Mary Amozig
Software Answers, Inc.
Orlando, Floride, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00725901
Message ID:
00725911
Vues:
9
Mary,

You can change the rowsourceType to 'Alias', then at any point in time you can issue your select statement in code. SELECT into a cursor, and put the name of the cursor in the rowsource. Issue a listbox.requery() after the SELECT statement.


>I am trying to pass conditional variables into a rowsource in a combo box. Basically, what I want to do is adjust the 'where' clause by adding either nothing to it or an ' AND npropid = lnpropid'. I tried using an iif construction in the where clause, but that didn't work. Then I tried doing a 'TEXT TO variable TEXTMERGE' and putting the variable into rowsource, but that didn't work either.
>
Steve Gibson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform