Subject | Joined Datasets, Insert not Refreshing Fields |
---|---|
Author | ehandbury |
Post date | 2002-04-17T10:42:53Z |
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.
(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.