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:
00146647
Views:
24
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()
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform