Skip Headers
Oracle® Fusion Middleware Idoc Script Reference Guide
11g Release 1 (11.1.1)
E10726-01
  Go To Documentation Library
Library
Go To Table Of Contents
Contents
Go To Index
Index

Previous
Previous
 
Next
Next
 

ddLoadResultSet

This function loads a dynamicdata table into a result set.

Type and Usage

Parameters

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.

Output

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

Example

<@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