Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Defaulting a combo box to a specific value?
Message
From
27/06/2000 11:42:00
 
 
To
27/06/2000 11:23:23
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00385055
Message ID:
00385124
Views:
10
>>>I am populating a drop down combo from a query with a customer ID code to a cursor. At every location, there is a customer code of "CASH-"+locationcode. Is there any way to make the drop down default to the "CASH-"whatever ID in every case?
>>
>>Did you try Thisform.ListBox1.Value = "CASH-"+locationcode in every case?
>>
>>>Thanks
>>>
>>>Jim
>
>Jess,
>
>Er, actually, no. I did try .value="CASH" in the combo's init with zero results. I'll cobble together the complete string and give it a go.
>
>Thanks.

Well, no luck with either the form's on the combo's init. Could this be bcause of when the query is run? Would the InteractiveChange be a better place to set the .value? I am still very weak on the event sequence on this form. Any more ideas would be greatly appreciated.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform