When setting values for table parameters:
You use the Row object to retrieve column information in the Table object. Do not attempt to use the Structure object methods on table rows; the Structure object is only for use with objects from the Exports and Imports collections.

If you assign a row to a object variable, and then delete either the Table object from the Tables collection object, or the row from the table (using the any of the RemoveRow, DeleteTable, or FreeTable methods), you invalidate the contents of the target object variable.
To avoid this problem, detach Table objects from the Function object. The table component provides the methods to unload and set for detaching and reattaching tables. A Table object unloaded to an object variable is no longer shared with the Function object. However, Table objects that are simply assigned (rather than unloaded) to a variable remain shared.