|
|
|
|
|
- SQLFetch/SQLFetch: Partial retrieval of query results
- Life cycle of a browse
Goes to the next row (i.e next record) of the query result. When SQLFetch is called for the first time, the current record will be the first record selected by the query. This function is used to browse the query result "line by line". For more details on the different modes to loop through a query result, see Types of SQL browse. Sintaxis
<Result> = SQLFetch(<Query name>)
<Result>: Integer 0 if the record was successfully read. The data can be retrieved by SQLGetCol and SQLGetMemo. <Query name>: Character string Observaciones SQLFetch/SQLFetch: Partial retrieval of query results The function SQLFetch FUNCTION function does not retrieve all rows in the query result: only the current record is retrieved by the SQLFetch FUNCTION.. Therefore, the total number of result rows ( SQL.NbLine) cannot be retrieved by SQLInfo if SQLFetch is used to browse the result.
Esta página también está disponible para…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|