Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Listbox not populating programmatically
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00204733
Message ID:
00204741
Views:
18
Nick,

You have a typo in your rowsource. I ran this code on a push button and it worked fine:

ThisForm.lstTest.rowsourcetype = 6
ThisForm.lstTest.rowsource = 'lvClubView.clubname'

REQUERY('lvclubview')
ThisForm.lstTest.refresh()

However, when I had rowsource = 'lvClubView.Clubs' I got the same error you reported (clubs is not a field in lvClubView.

Rob
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform