Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deathgrip struggle with the combobox
Message
From
01/03/1999 22:31:11
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00192987
Message ID:
00193002
Views:
37
>RowSource = Devices.Serialno,dModelno,DeviceCode
>RowSourceType = 6 - Fields
>ColumnCount = 2
>ColumnWidth = 100,100,0
>BoundColumn = 3
>DisplayValue = Devices.Serialno

This all looks good except for the last line. YOu don't need to set the DisplayValue in the property sheet.

>and the following code in these methods:
>INIT:
>THIS.VALUE = (Devices.DeviceCode)

What are you trying to do? Will this combo be databound? If so, then you only need to set its controlsource property.

IF not, to initialize the combo on the first record in the table, code like you have above should do the trick. You should not need parentheses.

>Well, the combobox displaying the right info would be nice. When the form first comes up the first time, the combobox displays the correct serial number. If I close the form and bring it back up, it doesn't display anything.

Do you mean it stops working after the first time the form is run? How do you get it working again?
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform