Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding a blank option to a combobox
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00146606
Message ID:
00146660
Views:
22
>Michelle,
>
>Here's one way to handle it. Make the rowsourcetype Array. In the Init of teh combo put this code;
>
>SELECT code, desc FROM codetable INTO ARRAY tmp ORDER BY code
>lnRow = ALEN(Tmp,1)+1
>DIMENSION Tmp(lnRow,ALEN(Tmp,2))
>Tmp(lnRow,1) = ""
>Tmp(lnRow,2) = "None"
>THIS.Sorted = .T.
>THIS.Requery()

That's a good idea, too. But I already got it working fine the other way, so i think I'll keep what I got.

Thanks,

-Michelle
Previous
Reply
Map
View

Click here to load this message in the networking platform