Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Computed Grid Column
Message
From
08/05/2000 04:44:01
 
 
To
06/05/2000 13:27:25
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00366983
Message ID:
00367161
Views:
24
Hi Sarosh.

>> Is it possible to create a computed column in a grid and still be able to edit it?

I have a column in a grid with it's controlsource set to the lookup() function which returns the description (of its foreign key column) <<

Sure. If you want to drop a combo box in the column, when the combo gets focus you will be able to edit the contents of the column. From the sound of it, you are getting the contents of the column from a lookup table anyway.

Just set the bound to propewrty of the combo to true and bind it to the foreign key in the grid's RecordSource. But I think that you will need to set the bound property of the column to .F. for this to work.

I use this trick myself, but I generally set the column's controlSource to Something like this:

=SEEK( < foreign key field in RecordSource >, '< Lookup Table >', '< Lookup Table Tag >' )

Marcia
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform