I know that InfoPower (http://www.woll2woll.com/) provides the sort of
functionality you're looking for. You can set up a TwwDBComboBox or
(better) a TwwDBLookupCombo to use as the EditControl for a field used
in their TwwDBGrid. I don't know how to do this using the standard
Delphi components.
Cheers,
Carl Reynolds Ph: +64-9-4154790
CJN Technologies Ltd. Fax: +64-9-4154791
[EMAIL PROTECTED] DDI: +64-9-4154795
PO Box 302-278, North Harbour, Auckland, New Zealand
12 Piermark Drive, North Harbour Estate, Auckland, NZ
Visit our website at http://www.cjntech.co.nz/
> -----Original Message-----
> From: Patrick Dunford [SMTP:[EMAIL PROTECTED]]
> Sent: Wednesday, September 08, 1999 7:11 AM
> To: Multiple recipients of list delphi
> Subject: [DUG]: TDBGrid Lookup Field
>
>
> Is it possible to use a column and picklist on a TDBGrid.Column to
> look up
> values from a table?
>
> Suppose I have a table with rows that look like this
>
> Cat 1
> Fish 2
> Dog 3
> Pig 4
>
> and I have a field in a table that has a numerical field based on the
> numbers shown. But when I display the field's values in the grid, I
> want to
> display the text value, and my picklist lets someone pick the text
> value
> when they are entering or changing the field, and they never actually
> see
> the number. Is it possible? How do I implement it?
>
> ============================================
> Patrick Dunford, Christchurch, NZ
> http://patrick.dunford.com/
>
> ----------------------------------------------------------------------
> -----
> New Zealand Delphi Users group - Delphi List -
> [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
application/ms-tnef