A state record used to store values to e shared across sections/steps can be a
1. Record ( with an underlying database table)
2. derived work record
If you do decide to use a derived work record always disable restart. If not so disabled, after every commit the derived work record will be reinitialized resulting in unexpected behaviour.
An AE program can have multiple state records. In this case only one can be defined as a default state record. The fields of the default state record can be accessed w/o prefixing the record name. For non default state records, you have to prefix the record name.
To set a value of a state record's field use %SELECT ( FIELD name or RECORD.FIELDNAME)
To retrieve values, use %BIND(fieldname/ recordname.FIELDNAME )
Sunday, February 3, 2008
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment