Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Listbox not populating programmatically
Message
 
À
02/04/1999 14:11:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00204733
Message ID:
00204756
Vues:
22
my view is called lv_div and it has a field called division. I set my listbox (called list1 ) rowsource and rowsourcetype properties to none. I want to use the listbox for different queries, and so when I used it for lv_div, I am setting the following items in my code:


thisform.list1.rowsource = lv_div.division
thisform.list1.rowsourcetype = 6
requery('lv_div')
thisform.list1.refresh()

My query field name is correct, it's the same name the listbox builder shows. I'm I on the right track. Could it be that I am doing my code in INIT? I even did requery('lv_div') before defining rowsource, but it still gave me error 1130.

thanks for response

nick
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform