Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lookup Combo in Grid
Message
From
05/07/2006 06:06:33
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Lookup Combo in Grid
Miscellaneous
Thread ID:
01133757
Message ID:
01133757
Views:
63
Hi at all,

I have the following situation

Table name.dbf
Code c(4)
Description c(20)

Table data.dbf
xxxx c(2)
yyyy c(2)
Code c(4)


I have a grid for table data.dbf and in the column of Code I have insert a combo with following settings:

BoundColumn = 2
ColumnCount = 2
ColumnWidths = 75,0
ControlSource = table.code
RowSourceType = 6-Fields
RowSource = name.descritpion,code
Style = 2 - Dropdown List

It works fine if I set the Sparse setting of column = .f. but I want to have the combo visible only if the customer click in row, this works if I set the sparse setting to .t. but the value displayed in column is obviusly the code and not the descriprtion is there any solution or idea for this situation.

Thank you in dvance for any help.

regards
Luigi
Next
Reply
Map
View

Click here to load this message in the networking platform