>Thread 221136 requested info for a combobox containing a two digit field to be displayed along with a changing label. This was to be accomplished by making the rowsource of the Cbo a cursor, view or table. I used a table. Then to 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.lblMYLabelCaption=cCursor.digitdesc
>thisform.lblYourLabel.Refresh()
>
>nothing happened
>
>I also inserted this code into the the interactivechage event,
>but still nothing
>
>any ideas how this could be accomplished or why mine isn't working?
It should work from InteractiveChange event, just make sure that you use correct syntax:
Thisform.MyLabel.Caption=myCursor.myfield
Edward Pikman
Independent Consultant