Subject | 1:1 master/detail post problem |
---|---|
Author | ehandbury |
Post date | 2002-04-10T07:16:01Z |
Hello,
(BCB4, IBO4_2Gc, FB1-796)
I have a 1-to-1 master/detail relationship which works fine...
except on a master insert when the detail record is not modified.
Then the master record is posted, but the detail is not.
The way around it I have come up with is to assign a detail field
to itself on the master OnBeforePost to ensure that the
detail.Modified property is true and it will then get posted.
MY question... is this the best way or is there some property/etc.
that I can set which automatically posts the detail record when the
master is posted.
TIA, Eric.
(BCB4, IBO4_2Gc, FB1-796)
I have a 1-to-1 master/detail relationship which works fine...
except on a master insert when the detail record is not modified.
Then the master record is posted, but the detail is not.
The way around it I have come up with is to assign a detail field
to itself on the master OnBeforePost to ensure that the
detail.Modified property is true and it will then get posted.
MY question... is this the best way or is there some property/etc.
that I can set which automatically posts the detail record when the
master is posted.
TIA, Eric.