try to change detail to dbgrid and dbcombobox to master detail
Regards,
Adrian POPA
--- In delphi-en%40yahoogroups.com">delphi-en
yahoogroups.com, "Philbert" <philbertmi
...> wrote:
>
> I have a lookup combo box on a form together with a DBGrid. The
> DBLookup combo is connected to a master table while the dbgrid is
> connected to a detail table. When the form initially appears, the
> DBLookupcombo does not contain anything in the text portion but the
> DBGrid has the records from the detail table. I would like to show
> sth in the lookup combo (first record field value for example) or
> hide the detail records until something is selected from the lookup
> combo.
>
.