Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to load a single table to a combobox control ?
Message
 
To
08/06/2004 02:49:29
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00911016
Message ID:
00911131
Views:
23
Make an array on the object itself and select into the array;

in the init()
THIS.loadcboarray()
THIS.ROWSOURCE = "this.acboarray"
RETURN DODEFAULT()
in the loadcboarray() method
select field1,field2;
from mytable;
into array this.acboarray
>Hi,
>
>I want to ask how to load a single table to a combobox control BUT
>the RowSource of the combobox is 5-Array. I don't want the combobox control
>link with the table.
>
>Please advise.
>Thanks
>Derek Yim
Wayne Myers, MCSD
Senior Consultant
Forte' Incorporated
"The only things you can take to heaven are those which you give away" Author Unknown
Previous
Reply
Map
View

Click here to load this message in the networking platform