BAM code

It's just as simple as you just stated.
You test the OLDtabelname.field for a value you are looking for.
I apologize if this was not covered well enough at the conference.
The syntax would be...
OLDJobOper.ActBurCost =

Good luck,
Aaron Hoyt
Vantage Plastics


-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]On Behalf
Of al2trace
Sent: Wednesday, August 24, 2005 3:25 PM
To: vantage@yahoogroups.com
Subject: [Vantage] BAM code


Since the User4User conference, I have been able to set up several
BAM's. Thanks again to all the presenters. I have one BAM that is
intended to tell me when we start work on a certain operation of a
certain job. It fires when the "ActBurCost" field changes and tests
to see if that is the correct job and operation.

Since this is written for myself, it is fine the way it is but if I
wrote this for someone else, I would also need to test if it was the
first time or not. I noticed in GlbAlert.i that there is a reference
to "OLD<tablename>" that has the prior values for the record. That
would work great since I could test to see if the old value
of "ActBurCost" was zero, then send, otherwise don't send. How can I
access the previous record values?





Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must have
already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder and
Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/links
Yahoo! Groups Links
Since the User4User conference, I have been able to set up several
BAM's. Thanks again to all the presenters. I have one BAM that is
intended to tell me when we start work on a certain operation of a
certain job. It fires when the "ActBurCost" field changes and tests
to see if that is the correct job and operation.

Since this is written for myself, it is fine the way it is but if I
wrote this for someone else, I would also need to test if it was the
first time or not. I noticed in GlbAlert.i that there is a reference
to "OLD<tablename>" that has the prior values for the record. That
would work great since I could test to see if the old value
of "ActBurCost" was zero, then send, otherwise don't send. How can I
access the previous record values?