Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding Items to ComboBox
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Adding Items to ComboBox
Miscellaneous
Thread ID:
00549962
Message ID:
00549962
Views:
42
How do you add 2 items to each row (one being a group, the other a group id) without displaying the 2nd item? I know how to do it using a SQL statement as the rowsourcetype, but I can't get it working in the INIT() event. I have:

THIS.ADDITEM("",1,1)
x = 2
SCAN
THIS.ADDITEM(t_groups.group_name,x,1)
THIS.ADDITEM(t_groups.group_code,x,2)
x = x + 1
ENDSCAN
Next
Reply
Map
View

Click here to load this message in the networking platform