This function loads a dynamicdata table into a result set.

Type and Usage


The following table lists parameters for the function.

Parameters Description
dataTableName The name of the dynamicdata table to load.
idocTableName The name of the result set into which the dynamicdata table should be loaded.
mappingTableName The name of a dynamicdata table used to rename the columns of the final result set. The renaming is done by mapping the column names in the specified mapping table to the values of the first row in the same table. This is done exactly the same in ddLoadResultSet.


If the dynamicdata table is successfully loaded, it returns True.


<@dynamicdata MyDataTable@>fieldA, fieldB, fieldC1,      2,       34,      5,       61,      3,       9<@end@>

<$exec ddLoadResultSet("MyDataTable", "MyResultSet")$><$exec ddLoadResultSet("MyDataTable", "MyAliasedResultSet")$><$exec rsFirst("MyResultSet")$><$exec rsFirst("MyAliasedResultSet")$><$foo = MyResultSet.field1$>         [[% (foo == 'a') %]]<$bar = MyAliasedResultSet.alias2$>  [[% (bar == 'c') %]]

See Also