Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo box to show description instead of code
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00407643
Message ID:
00407650
Views:
16
As Mike says, the first column is displayed period. I had this same problem last week having a PK in first column. Rethink time!

>I have a File which has codes and descriptions e.g.:
> Code Decription
> ---- ----------
> NY New York
> DE Delaware
> SA San Francisco
> DE Delaware
>
>I want to set up a Combo box, which displays both the Code and description
>in the list, but when I go to the next field, I want the Description
>only displayed. The code is the control source back to the file.
>I can do all of the above except dispalying the description after I
>leave the field.
>
>e.g.
>
>Name: Joe Bloggs
>State: San Francisco
>Address: 25 Cowper Downs,Lime Way
>
>Is there a way of leaving the description field displayed rather than
>the control source field ?
>
>Regards,
>
>Gerard
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform