Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TextBoxes associate with ComboBoxes
Message
 
To
28/05/1998 11:00:31
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00102718
Message ID:
00102752
Views:
42
>>Hi,
>>
>>I don't know if I'm missing something, but I have a ComboBox where the user can choose a "Client" in a form that handles "Instructions from Clients". When the drop-down list is open the user must see "Client's NickName", "Client's Name", "Client's Country" and "Client's City". So I have a ComboBox with 5 columns (the last one, that is hidden, contains "Client's identification") with a RowSource based on v_Clients. Everything is fine, but when the drop-down list is closed, the user can only see the TextBox with the "Client's NickName" (first column) and I have a need to see all 4 fields.
>>I created 3 TextBoxes bound to "Client's Name", "Client's Country" and "Client's City" and everything is fine. The problem happens when I need to add a new "Instruction" and the 3 new TextBox are filled (with the first record of v_Clients), although the ComboBox is empty.
>>I know that I could suggest a "default" client, but it doesn't make any sense, sice there are more than 10.000 client's in the database..
>>
>>Any tips would be great.
>>
>>Regards,
>Jose,
>You could use just two columns, one for id (hidden) and the other bound one is a concatanated info NickName+Name+Country+City.
>Cetin

Or a grid maybe?

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform