Re: Master / detail with TADODataset?



Hi,

works pretty well. Thank you!
--
Best regards :)

Guillem Vicens
Dep. informática Green Service SA
www.clubgreenoasis.com

"Dave Blake" <barnswood@xxxxxxxxxxx> escribió en el mensaje
news:426e49d1$1@xxxxxxxxxxxxxxxxxxxxxxxxx

> Yes easily, use Datasource property.
> Set the Details.Datasource to a datasource linked to the Master,
> and the Details.MasterFields to the name(s) of the Master fields.
> If Details has different field names to the Master then set
> Details.IndexFieldNames to the
> matching Details fields.



.



Relevant Pages

  • Re: Master / detail with TADODataset?
    ... >Details.MasterFields to the nameof the Master fields. ... you use that match fields from the Dataset DATASOURCE property points to will ... Brian Bushay (TeamB) ... Prev by Date: ...
    (borland.public.delphi.database.ado)
  • Re: Using BatchOptimistic locking with Master/Details
    ... "Brian Bushay TeamB" wrote ... > If you are linking your master and Detail tables using Parameters in the ... > If you just link them using the DataSource property and the MasterFields ... I was linking using Parameters. ...
    (borland.public.delphi.database.ado)
  • Re: Using BatchOptimistic locking with Master/Details
    ... >The details are linked to the master (both ADODatasets with BatchOptimistic ... >and LocalClient cursor) via Datasource. ... >Master changes e.g when an edit posted, ... If you just link them using the DataSource property and the MasterFields ...
    (borland.public.delphi.database.ado)
  • Re: Master / detail with TADODataset?
    ... > simple way between 2 TADODatasets? ... > TADOTables. ... Details.MasterFields to the nameof the Master fields. ... matching Details fields. ...
    (borland.public.delphi.database.ado)