Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox not populating programmatically
Message
 
To
02/04/1999 14:11:35
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00204733
Message ID:
00204756
Views:
24
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform