General information
Category:
Forms & Form designer
Title:
Adding Items to ComboBox
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only