Perform actions on datasets

VuGen lets you perform actions on datasets returned by SQL queries.

The lr_db_dataset_action function performs the following actions on datasets:

  • Reset. Set the cursor to the first record of the dataset.

  • Remove. Releases the memory allocated for the dataset.

  • Print. Prints the contents of the entire dataset to the Replay Log and other test report summaries.

Note: When you retrieve binary data through lr_db_getvalue, you cannot print its contents using the Print action.

For information about the syntax and usage of this function, see the Function Reference (select the relevant version).