Subject RE: [IBO] New file uploaded to IBObjects
Author Alan McDonald
> > File : /dsourcetest.zip
> > Uploaded by : metaalan <alan@...>
> > Description : DataSource Artifact Persistent Field Example
> >
> > You can access this file at the URL:
> > http://groups.yahoo.com/group/IBObjects/files/dsourcetest.zip
>
> I took a look at this sample app and what I could tell is you are
> eliminating the field in the master dataset that the detail dataset relies
> upon in order to have the master-detail relationship.
>
> If you define NO persistent TField objects then by default you
> get a TField
> object for every column returned in the dataset. If you define
> one or more
> persistent TField objects then there won't be any additional
> TField objects
> created for you.
>
> If the TField object you need to manage the master-detail dataset
> is missing
> then your master-detail relationships will not work.
>
> Thanks for taking the time to produce this sample application so that I
> could be sure there wasn't a problem in IBO.
>
> Regards,
> Jason Wharton
> www.ibobjects.com

thanks Jason,
Unlike Helen, you've confirmed my observations exactly.
As I said, this is part of the implementation and goes back as far as Delphi
1.
My comments which prompted this sample was an attempt to assist someone who
MAY have left a key persistent field out and still required it for detail
parameter sourcing.
As you have confirmed, this won't work.
You either need to have no fields at all OR you need to ensure that if you
add any fields manually, then you need the specific datasourced field to
avoid a dead detail dataset.
Alan