I'm not using dynamics, only ADM2, but what I do is to rename data.calculate in the sdo and create own data.calculate.  The AB still maintains the original renamed data.calculate but you can do what you like in your new ip i.e. any 4gl code that will assign the fields - see http://www.adebusiness.com/sdocalc.html.
 
Miles
-----Original Message-----
From: robert.pooley [mailto:robert.pooley@jds.co.za]
Sent: Thursday, 27 February 2003 6:57 PM
To: dev@icf.possenet.org
Subject: [icf-dev] Data Calculate fields

Hi there,
 
In a static SDO, I have 3 data calculate fields:
1. rowObject.cPersonOrg_name  =  entry(1,rowObject.cPersonOrg_string)
2. rowObject.cPersonOrg_obj
3. rowObject.cPersonOrg_string = dynamic-function ..............
 
The result of rowObject.cPersonOrg_name is dependent on the result of rowObject.cPersonOrg_string
 
The data calculate procedure is read-only and the above 3 data calculate fields are stored in an alphabetical sequence automatically and it would appear they are processed in that sequence.
 
How can one change the order in which data calculate fields are processed besides changing the name of the first data calculate field to force it alphabetically to be processed last.
 
Kind regards
Robert

DISCLAIMER
***********************************************************************
The information contained in this email and any attachments
are intended for the named recipient only. It may contain
privileged and confidential information. If you are not the
named recipient, you must not disclose, copy, distribute or
take any action in reliance on it. The legal privilege and
confidentiality attached to this email is not waived, lost
or destroyed by reason of a mistaken delivery to you. If you
have received this email in error, please notify the sender
and delete it from your computer and network. Unless stated
otherwise, this email represents the views of the sender and are
not necessarily those of the RTA.
***********************************************************************
************************************************! ********* **************