OBJECT function example
The OBJECT function calls up the object whose number or name is used in the function parameter.
The typical use of this function is to reference document names in the function formula:
A COLUMN object has the following formula:
OBJECT ( [OBJ5] ; [OBJ7] )
[OBJ5] is a cell with the number 2 as its' content.
[OBJ7] is a cell with this formula:
[OBJ21]is a menu hierarchy of document names.
[OBJ2] on the document x_No1 is a Column DB object.
so the COLUMN formula(above) translates to: Grab object 2 on the document currently selected, x_No1
This kind of construct can be very useful when you have many documents, and they all have a similar structure, object-wise.
The application enclosed uses an attached arcplan internal database file(demoedb.apd).
Comments: This function can be used together with the REFERENCE function to create dynamic object references. The parameter ACTUAL delivers the current object that is selected via a manual entry or a mouse click. For referencing objects using the OBJECT function synchronized switching can not be guaranteed. Only those objects that are directly referenced by there ID or their object number (e.g. [OBJ10] or 10) are automatically updated.
See the arcDesigner help file for more information- http://help.arcplan.com/EN/Designer/v7/topics/objectcalculationfunction.htm
Examples of the following functions are contained in the attached zip file application:
And here is the link to the zip file attachment: