Using Parameter and Structure Objects 
If you want to access fields in an export/import parameter defined as a structure, use the following:
set StructObj = MyFunct.Exports(
" Employee_Struct " ) ORSet FieldObj = MyFunct.Exports(
" Company_Number " )StructObj.Value(
" Name " ) = " Smith " ORFieldObj.Value =
" 1234 "Structure objects are provided only to perform operations on export and import parameters. Do not attempt to use the methods and properties for this object type with table rows.
Structure and Parameter objects are fundamentally different from the other object types. They are not maintained in their own collection lists, and do not occur in any other object type as a property or method. As a result, expressions of the form
MyFunction.Structure.Value(
" field-name " ) ORMyFunction.Parameter.Value
are not valid and result in runtime errors.
To get information on a parameter’s structure definition, use the online Assistant.