Page 1 of 1
Any Cascade features of Master-Detail ?
Posted: Wed 23 May 2012 02:05
by lauchuen
hi,
does PgDAC has cascade feature like cascade open/close of master detail relationship ?
Re: Any Cascade features of Master-Detail ?
Posted: Wed 23 May 2012 08:53
by ROD
No, the feature of cascade open/close is very easy to implement, but is not unambiguous enough.
The most obvious that can be done, is to group opening/closing of datasets at your discretion:
Code: Select all
procedure CascaseOpen;
begin
dsMaster.Open;
dsDetail1.Open;
dsDetail3.Open;
end;
procedure CascaseClose;
begin
dsDetail1.Close;
dsDetail3.Close;
dsMaster.Close;
end;
Re: Any Cascade features of Master-Detail ?
Posted: Wed 23 May 2012 09:06
by lauchuen
yes, ofcause that is very easy to implement. but think about to create these procedure really slow down the development time, if the component can provide these simple features really helpful. its ok. thanks a lot.
Re: Any Cascade features of Master-Detail ?
Posted: Wed 23 May 2012 10:13
by ROD
Ok, we will consider this.
Not at all.