dbtextsize

Description

Returns the number of bytes of text or image data that remain to be read for the current row.

Syntax

DBINT dbtextsize(dbproc)
 
DBPROCESS     *dbproc;

Parameters

dbproc

A pointer to the DBPROCESS structure that provides the connection for a particular front-end/server process. It contains all the information that DB-Library uses to manage communications and data between the front end and server.

Returns

The following table lists the return values for dbtextsize:

dbtextsize returns

To indicate

>= 0

The number of bytes that remain to be read. Zero indicates NO_MORE_ROWS.

-1

An error has occurred.

-2

dbtextsize has been called for RPC data.

Usage

See also

dbreadtext