Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Adding a blank option to a combobox
Message
From
14/10/1998 10:23:07
 
 
To
14/10/1998 10:16:04
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00146606
Message ID:
00146635
Views:
28
>>>
>>>OK, how about
>>>SELECT code, desc FROM codetable INTO CURSOR tmp ORDER BY code;
>>>UNION;
>>>SELECT PADR('', 4) AS code, PADR("All Codes", 20) FROM codetable INTO CURSOR curYourSource ORDER BY code
>>>Note: PADR()s are just to adjust widths to the codetable
>>
>>Now, that's an interesting variation of Jayesh's idea. Yours doesn't have me creating a dummy table. The question is, would that add one blank, or a blank for each record in the codes table? You don't have to answer that; I'll check it out.
>>
>>Thanks,
>>
>>-Michelle
>
>Oh, but it's my pleasure :-)
>It will work, you'll see
>
>Regards

It works great! Thanks, both of you!

-Michelle
Previous
Reply
Map
View

Click here to load this message in the networking platform