Subject | raKeepDataPos |
---|---|
Author | Dion Oliphant |
Post date | 2002-11-06T07:11:38Z |
Hi,
IBO v 4.2E
win 2000 pro
I update a joined dataset using sp's, one for editing and one for inserting.
These sp's are called from the TIB_Query's EditSQL and UpdateSQL properties.
This joined dataset is the dataset for a TIB_Grid, in which the editing and
inserting are done. This query is the detail dataset in a master detail
relationship. The relationship seems to be setup correctly. I can
edit(insert) on all of the fields. I have an AfterPost event on the detail
dataset which commits the transaction.
Why would a commit on the detail dataset cause the master to do a refresh?
If I don't set the Masters RefreshAction property to raKeepDataPos, I lose
the insert on the Detail dataset. Is that normal behaviour, or have I caused
it?
Thanks,
Dion.
IBO v 4.2E
win 2000 pro
I update a joined dataset using sp's, one for editing and one for inserting.
These sp's are called from the TIB_Query's EditSQL and UpdateSQL properties.
This joined dataset is the dataset for a TIB_Grid, in which the editing and
inserting are done. This query is the detail dataset in a master detail
relationship. The relationship seems to be setup correctly. I can
edit(insert) on all of the fields. I have an AfterPost event on the detail
dataset which commits the transaction.
Why would a commit on the detail dataset cause the master to do a refresh?
If I don't set the Masters RefreshAction property to raKeepDataPos, I lose
the insert on the Detail dataset. Is that normal behaviour, or have I caused
it?
Thanks,
Dion.