Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General Discussion » View Thread |
Messages 1 to 3 of 3 total |
BeforePost event not triggering - Master / Detail Relationship |
Mon, Apr 22 2013 1:47 AM | Permanent Link |
Adam H. | Hi,
I've found something interesting within my application. I'm suspicious that this may not be a DBISam issue, but moreso a TDataset issue, but I'm still not sure how to go about dealing with it... I have noticed that within my application, if I have a master /detail setup with two TDBISamTables, if I put the master and detail in edit, and then post the master, the detail automatically posts at the same time - but it does not trigger the onbeforepost event. Has anyone else come across this, or have any ideas on what I should do to do to combat it? Delphi 2007 Cheers Adam. |
Mon, Apr 22 2013 11:25 AM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Adam,
<< I have noticed that within my application, if I have a master /detail setup with two TDBISamTables, if I put the master and detail in edit, and then post the master, the detail automatically posts at the same time - but it does not trigger the onbeforepost event. >> Are you sure that the detail is actually posting and not just cancelling ? If the detail record isn't modified, then the TDataSet will just cancel the edit instead of posting it. Tim Young Elevate Software www.elevatesoft.com |
Mon, Apr 22 2013 6:33 PM | Permanent Link |
Adam H. | Hi Tim,
> Are you sure that the detail is actually posting and not just cancelling > ? If the detail record isn't modified, then the TDataSet will just > cancel the edit instead of posting it. And that would be the case. Thanks for the clarification! Cheers Adam. |
This web page was last updated on Thursday, March 28, 2024 at 06:05 PM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |