Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox Rowsource as Multiple Fields from Same Rec
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00658274
Message ID:
00658478
Views:
15
I use this: To fill the combo with diferent fields
*Form.init
Use Mytable1
Scan
  If some condition then && If apply
    thisform.combo1.AddItem(field1 + " " + field2) &&etc....
  endif
endscan
to refill combo2, in combo1.click
Use Mytable2
thisform.combo2.clear
Scan
  If some condition then && it depends the value selected at combo1
    thisform.combo2.AddItem(field3)
  endif
endscan
thisform.combo2.refresh
I hope helps you....
By two common phrases in his vocabulary, we know Hercule Poirot was a great Developer: his use of "the little grey cells" and "order and method".
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform