Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Normalized data and grids.. HELP!
Message
 
To
02/09/1996 19:20:29
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00007149
Message ID:
00007158
Views:
34
Hi Keith,

>>>As you can see, I link the two tables via the Company field. The problem I am having is that I want to put table 1 into a grid and then have the user see the Description field of table2. When the focus comes to the company field I want to have a drop down list of the available companies from table 2. How do I do this??? I am stumped at the moment and could use some friendly help!
>>>
>>>Thanks!
>>>Keith
>>
>>Add a combobox to the first column.
>
>I have already done that. I add a combobox to the column, and when focus is on that column, I get the list of descriptions that I want and the combo box fills in the proper company ID into the company field in table1. The problem is that when focus leaves that column, the field that is displayed is the company ID field. Anyone have any suggestions?

First, u need to have Sparse property of column 1 set to .F.
Second, u may reverse the order in wich u show the columns in the combo, having first de description and then the ID, and set the BoundColumn property of the combo set to 2.

HTH,

J. Luis
J. Luis Santiago Rodríguez.• CADIS • E-mail: jlsantiago@iserve.net.mx• Ciudad de México.
Previous
Reply
Map
View

Click here to load this message in the networking platform