Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread How to use AfterInsert Trigger
Mon, Dec 25 2006 11:31 PMPermanent 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 PMPermanent 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 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email 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
Image