Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Combo Box with associated field
Message
From
21/05/1999 07:47:24
 
 
To
20/05/1999 17:35:53
George Simon
GS Data Technologies, LLC
Cincinnati, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00221136
Message ID:
00221291
Views:
13
>Hi Todd,
>
>I'll make some assumptions here about the combobox. Make the row source of your combobox a cursor, view, or table. Set the combobox rowsourcetype property to 6-fields, and the rowsource = cCursor.digit,digitdesc. Then in the valid event of the combobox place the following code:
>
>thisform.lblYourLabel.Caption = cCursor.digitdesc
>thisform.lblYourLabel.Refresh()
>
>HTH,
>
>George

I would do that in the InteractiveChange event, that way the label always shows the right description.

Peter
Peter Cortiel
Previous
Reply
Map
View

Click here to load this message in the networking platform