CreateRowsetCache function
Syntax
CreateRowsetCache(&Rowset, [Rowset.]Name, Description)
Description
Use the CreateRowsetCache function to create a new RowsetCache object with the given name if it doesn't already exist.
Parameters
| Parameter | Description |
|---|---|
|
&Rowset |
Specify an already instantiated and populated rowset that you want to use for creating a RowsetCache object. The RowsetCache object will have the same format and data as &Rowset. |
|
Record. Name |
Specify the name of the created RowsetCache object. If you just specify name, you must enclose the name in quotation marks. |
|
Description |
Specify a description of the RowsetCache as a string. |
Returns
A reference to the new RowsetCache object if there is not already a RowsetCache object of the given name.
Example
Local RowsetCache &Cache;
Local Rowset &RS;
&RS = CreateRowset(Record.PSLANGUAGES);
&NUM_READ = &RS.Fill();
&Cache = CreateRowsetCache(&RS, "AAROWSET1", "ROWSET_AAROWSET1");