|
<< Click to Display Table of Contents >> DbiQGetBaseDescs |
![]() ![]()
|
C syntax
DBIResult DBIFN DbiQGetBaseDescs (hStmt, phCur);
Delphi syntax
function DbiQGetBaseDescs (hStmt: hDBIStmt; phCur: phDBICur): DBIResult stdcall;
Description
DbiQGetBaseDescs returns the original database, table, and field names of the fields that make up the result set of a query.
Parameters
hStmt Type: hDBIStmt (Input)
Statement handle.
phCur Type: phDBICur (Input)
Cursor of type STMTBaseDesc
Usage
This function gives the client the original columns upon which the result set is based; in other words, the original columns from the SQL select list along with their table and database names. By associating the base or original field attributes with the result set, Delphi users can obtain a complete picture.
As with other BDE functions that return a cursor, the cursor must be closed by the client. The normal calling sequence to use is: DbiQAlloc, DbiQPrepare, DbiQGetBaseDescs, DbiQExec, DbiQFree, DbiCloseCursor( pStmtBaseCur ).
DbiResult |
Meaning |
DBIERR_NONE |
The query's resources were released successfully. |
DBIERR_NOTSUPPORTED |
A QBE language query could processed. |
See also