background image
<< Row Information | Evaluating Error Codes >>
<< Row Information | Evaluating Error Codes >>

Negative Row Values

Database Vuser Scripts · Developing Database Vuser Scripts
Creating Vuser Scripts
Chapter 9, page 153
Negative Row Values
A negative row value indicates that all available rows were fetched during
recording. The absolute value of the negative number is the number of rows
fetched.
In the following example, all four rows of the result set were retrieved:
When you execute an lrd_fetch statement containing a negative row value, it
retrieves all of the available rows in the table at the time of the run--not necessarily
the number at the time of recording. In the above example, all four rows of the table
were retrieved during the recording session. However, if more rows are available
during script execution, they are all retrieved.
For more information about lrd_fetch, refer to the
LoadRunner Online Function
Reference
(available from the VuGen Help menu).
lrd_fetch(Csr1, -4, 1, 0, PrintRow7, 0);
Online
Function
Reference