Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List box 2 based on list box 1
Message
 
To
12/08/1999 16:28:00
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00253199
Message ID:
00253241
Views:
17
Set up listbox2 to have a parameterized view for its rowsource (rowsourcetype of alias). Put the view in the DE of the form and mark its NoDataOnLoad property .T..

Now in the Requery of listBox2 put this code;

* Listbox2.Requery()
LOCAL lcParmForView
lcParmForView = Thisform.Listbox1.Value
Requery("TheViewForThisListbox")


Now, whenever the user makes a selection in listbox1 you call the requery for listbox2.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform