Login ProductsSalesSupportDownloadsAbout |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM Client/Server » View Thread |
Messages 1 to 3 of 3 total |
How to use AfterInsert Trigger |
Mon, Dec 25 2006 11:31 PM | Permanent Link |
Tony Pomfrett | Hi,
Can somebody please advise what datathe CurrentRecord holds when an AfterInsert Trigger fires? I had hoped it would hold the filed values after the record had been populated and was about to be posted. But it seems that all filed values are empty. So, the AfterInsert trigger seems more like an OnNewRecord event rather than a BeforePost event. Any ideas on how I can get the service to inspect new records as they are posted and access the data (read only) in those records? |
Mon, Dec 25 2006 11:35 PM | Permanent Link |
Tony Pomfrett | Sorry, I'll fix my typos:
Hi, Can somebody please advise what data the CurrentRecord holds when an AfterInsert Trigger fires? I had hoped it would hold the field values after the record had been populated and was about to be posted. But it seems that all field values are empty. So, the AfterInsert trigger seems more like an OnNewRecord event rather than a BeforePost event. Any ideas on how I can get the server to inspect new records as they are posted and access the data (read only) in those records? |
Wed, Dec 27 2006 5:24 PM | Permanent Link |
Tim Young [Elevate Software] Elevate Software, Inc. timyoung@elevatesoft.com | Tony,
<< Can somebody please advise what data the CurrentRecord holds when an AfterInsert Trigger fires? I had hoped it would hold the field values after the record had been populated and was about to be posted. But it seems that all field values are empty. So, the AfterInsert trigger seems more like an OnNewRecord event rather than a BeforePost event. >> How are you using the AfterInsert trigger (code example) ? I just tried it here and it works just fine. I've attached an example for you. -- Tim Young Elevate Software www.elevatesoft.com Attachments: trigtest.zip |
This web page was last updated on Tuesday, September 17, 2024 at 04:19 AM | Privacy PolicySite Map © 2024 Elevate Software, Inc. All Rights Reserved Questions or comments ? E-mail us at info@elevatesoft.com |