Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form variable in combobox rowsource
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00936474
Message ID:
00936538
Views:
26
In the rowsource of a combobox I have the following code:

Set up the RowSOurce of the Combo box using code in the form's Init like so:
lcRowSOurce = [SELECT descriptio, repertoire FROM pco ]
lcRowSOurce = lcRowSource + [WHERE pco.idper = ( thisform.cformid ) ]
lcRowSOurce = lcRowSource + [ORDER BY descriptio INTO CURSOR curFormul]
Thisform.MyCombo.RowSOurce = lcRowSOurce
Thisform.MyCombo.Requery()
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform