Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question about a combo box
Message
From
24/01/2003 12:37:56
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00745150
Message ID:
00745156
Views:
22
Carl,

Add another field for sort purposes, you may have to make "AA" longer so the UNION won't bomb. Something like:

>
>select sccdesc as col1, scccode,  ;
     sccdesc as sortField ;
>    from choice where scctype = "STATENUM";
>    into array thisform.lastates;
>    union select " All States" as col1, "  " as scccode, ;
          "AA" as sortField ;
>    from choice  order by sortField
>
>this.rowsource = "thisform.lastates"
>
>thank you in advance
>Carl <><
Steve Gibson
Previous
Reply
Map
View

Click here to load this message in the networking platform