13. Creating Dynamic Frames : How You Can Manipulate Data in Dynamic Fields : How You Can Access Individual Cells of a Dynamic Table Field
 
Share this page                  
How You Can Access Individual Cells of a Dynamic Table Field
You cannot use the GetFieldValue and SetFieldValue methods to obtain or change data values in cells in a dynamic table field. Use the following procedure to access the values in an array underlying a dynamic table field
To access the values in an array underlying a dynamic table field, you would perform the following basic steps:
1. Create a dynamic expression—an object of the DynExpr system class that represents an expression that can be reevaluated dynamically or a variable that can be reevaluated or assigned dynamically.
2. Use one of the following methods, defined for the DynExpr system class, to get or set values:
Assign
Assigns the value of one dynamic expression to another
GetValue
Puts the value of the field referenced by the dynamic expression into a variable
SetValue
Puts the value of an expression into the field referenced by the dynamic expression