Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ComboBox ControlSource
Message
From
19/05/1999 15:25:39
 
 
To
19/05/1999 08:39:21
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00220336
Message ID:
00220580
Views:
25
Cetin:
I implemented your suggestion, but I must be missing something. The label displays the contents of the previous record. I've changed directions, and am now trying to get an incremental search on the 2nd column that is the 1-2 character code. I put what was to be in the label caption and put it in column 1. Incremental search works fine but on the wrong data. Any suggestions?

BTW, I had a real tussle with the control source of the combobox. I finally figured out that I need to do the following:

this.value = {value of Fieldname in the view}
this.controlsource = {fieldname in the view}

When I set the controlsource at design time, the boxes were blank until I went to the next record. If I came back to the 1st record, it now had the correct value. In Debug, I set a watch on COPTA (fieldname) and it was " ", while COPTB (the adjacent field in the view) was "DR" (correct) I've got that all working now, but I'd like to understand why I can't set controlsource at design time.

Thanks for your help!
Mike
Mike
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform