Re: how to show that there is a detail record



Brian Bushay TeamB wrote:
the master has a detail-record or not. How can I do this?

Thank you very much


You want to show them in the same Grid? If that is the case create a left Join
query from your tables and use that for your datasource
--
Brian Bushay (TeamB)
Bbushay@xxxxxxxxx

Hi,

Yes, I want to show it in the same grid, but only something like a bool field (tick mark) that there is a detail dataset available or not.


I probably would still use the Left Join to create my dataset then add a
calculated field to generate the tick mark
--
Brian Bushay (TeamB)
Bbushay@xxxxxxxxx
Hi,

excuse my dumbness, but I cannot find a way to create a field, which only contains the information that there are detail datasets or not. I need more explanation or a snipplet if possible.

Thank you very much

Detlef Ross
.



Relevant Pages

  • Re: Problems with Bookmark
    ... Are you sure DM1.TblEl is the dataset you have connected to your grid? ... the table and not from the record I click in the DBGrid?? ... Brian Bushay (TeamB) ...
    (borland.public.delphi.database.ado)
  • Re: fly away?
    ... >I have a grid... ... Brian Bushay (TeamB) ... Prev by Date: ...
    (borland.public.delphi.database.ado)
  • Re: ADOQuery to view & edit but not Update Table??
    ... >it in the grid, but NOT post back the changes until they are read to do so ... Then you will need to use AdoDataset.UpdateBatch to save changed records ... Brian Bushay (TeamB) ...
    (borland.public.delphi.database.ado)
  • Re: Problems with Bookmark
    ... Something is very strange here. ... the table and not from the record I click in the DBGrid?? ... Brian Bushay (TeamB) ...
    (borland.public.delphi.database.ado)
  • Re: MaxRecords
    ... >> I tested this using the Northwind database and Employees table ... >> MaxRecords I had no problem getting MaxRecords to work. ... >> Brian Bushay (TeamB) ...
    (borland.public.delphi.database.ado)