Randy,
If the value returned from the lookup is character, you might want to change the Value property of your combobox to a blank - as in:
mycombobox.Value= ""
HTH
Dennis
>>>Set the Value property to 1.
>>
>>OK - it populates, but it is populating with the FIRST value in the list instead of the one that the user selected from the lookup screen. Also, code in the interactive change event starts giving me problems - see the 4th line below. When I select an order from the combobox, the code works fine.
>>
>>THIS.ENABLED = .F.
>>THISFORM.LOCKSCREEN = .T.
>>IF !EMPTY(THIS.VALUE)
>>THISFORM.curordnum = VAL(THIS.VALUE)
>>
>>Hi Randy,
>>
>>You will need some code that will determine exactly what value to place in the Value property from your external source (i.e. Lookup Screen).
>>
>>As for your Interactive Change Event code, pay attention to the data types you are using. The Value property wants a numeric data type value. Ensure that this is what it is getting. Otherwise, I don't know what the context of your program is and what you are trying to accomplish and so cannot give you more specific assistance. Just always pay attention to data types as this solves many problems by just keeping data types organized.
>>
>>
>>Cheers,
>>
>>Larry Rix
>>Platts