Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Populating a combo box
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00328762
Message ID:
00328873
Views:
35
you only need one cursor.
do this for you child combo.
1) set the rowsourcetype property to 3
2) the rowsource should contain the SELECT SQL statement such as "select f1,f2 from child where child.id = THISFORM.MYPROPERTY into cursor mychildcursor".

THISFORM.MYPROPERTY has your parent.id_pk or if you're using MYVARIABLE to hold the parent.id_pk, it has to be declared as public in the LOAD method of your form.
Work as if you don't need money
Love as if you've never been hurt before
Live as if this is your last day to live
Dance as if no one's watching
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform