*!* formset init()
SELECT myTable
LOCATE
WITH thisformset.toolbar1.cbo1
SCAN
.additem( field1, .listCount + 1, 1 )
.list( .ListCount, 2 ) = field2
.list( .ListCount, 3 ) = field3
*!* et cetera
ENDSCAN
.cbo1.listIndex = 1
END WITH
Q1 : The above codes should put it in the form or toolbar init event? If the field which I intend to put into the combobox is very large in terms of record(over thousands) would it be very slow?
Q2: What do you mean by field1, field2 and field3?
Previous
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