>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