Subject | Joined Datasets, Insert not Refreshing Fields (2nd Post) |
---|---|
Author | ehandbury |
Post date | 2002-04-18T21:40:46Z |
Hello,
Sorry for the 2nd post, but I really need this answered.
(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.
Sorry for the 2nd post, but I really need this answered.
(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.