Subject Re: [IBO] Joined Datasets, Insert not Refreshing Fields
Author Artur Anjos
Check you KeyLinks prop.

Artur

----- Original Message -----
From: "ehandbury" <ehandbury@...>
To: <IBObjects@yahoogroups.com>
Sent: Wednesday, April 17, 2002 11:42 AM
Subject: [IBO] Joined Datasets, Insert not Refreshing Fields


> Hello,
>
> (IBO4.2Gc, BCB4, FB-1.0-796)
>
> I have a joined dataset:
> select D.DESCRIPTION,M.MASTERKEY from MBMASTER M left join MBDETAIL
> D on D.DETAILKEY=M.MASTERKEY
>
> I have the KEYRELATION property set so the dataset is live. I also
> have BufferSynchFlags set to AfterInsert.
>
> I set the MASTERKEY field value in the OnAfterInsert event, and the
> problem is that the row does not get refreshed until I do a
> Refresh/Post. Is there any way to refresh the dataset after an insert
> while still remaining in dssInsert mode? I must use a Join since the
> rows are displayed in a grid.
>
> TIA. Eric.
>
>
> Yahoo! Groups Sponsor
> ADVERTISEMENT
>
>
>
>
>
___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or
InterBase
> without the need for BDE, ODBC or any other layer.
>
___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info
papers,
> keyword-searchable FAQ, community code contributions and more !
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
>
>