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:
00147338
Views:
34
Yeah, they were just examples. It's actually "ccode" and "cdesc". I put the field type at the front. Unfortunately, the person who wrote our app uses reserved words all over the place. Makes things confusing. Since I'm writing the new version, I've made a lot of changes. :)

-Michelle


>Michelle,
>
>I see you have your combo working, which is great. However, be VERY careful about using "DESC" as a field name. It is a reserved word, short for "Descending". If your code was
>
>SELECT desc, code FROM codetable ....
>
>you would have gotten an error message. Of course, you may have just used these fields as examples, and know this already.
>
>HTH
>Barbara
>
>
>>Hi all,
>-- snip --
>>SELECT code, desc FROM codetable INTO CURSOR tmp ORDER BY code
>-- more snip --
Previous
Reply
Map
View

Click here to load this message in the networking platform