Retrieves the values of the columns in the second row of a result set. This function can only be called after
OdbcGetFirst has been called to retrieve the first row in the result set.
OdbcGetNext can then be called repeatedly to process all the remaining rows. When all the rows have been processed, no data will be found and
OdbcGetNext will return 0 (zero).
The value of the first column of the result set will be copied to the first variable in the list of variables. The second column will be copied to the second variable and so on.
The CUSTNAME column is retrieved for all customers that have the
CITY column set to
Gothenburg in the
CUSTOMER table.
The callblock function is a StreamServe scripting function. It is used to call a free block. In this example, a free block with the name "customer" will be called for each retrieved customer.