INFORMIX
DataBlade API Programmer's Manual
Chapter 12: DataBlade API Function Descriptions
Home Contents Index Master Index New Book

mi_fetch_statement()

The mi_fetch_statement() function sets up the fetch cursor for a previously opened statement.

Syntax

Usage

The mi_fetch_statement() function does not actually fetch the rows. The rows are fetched later using mi_next_row().

If the cursor is not scrollable, only MI_CURSOR_NEXT can be specified.

Return Values

MI_OK

The function was successful.

MI_ERROR

The function was not successful. The cursor could not be fetched or the statement is invalid.

Related Topics

For additional information, see the descriptions of the following functions: mi_get_result(), mi_prepare(), and mi_open_prepared_statement().




DataBlade API Programmer's Manual, version 9.1
Copyright © 1998, Informix Software, Inc. All rights reserved.