|
|
BDE API Examples (DbiOpenTable)
Opens the given table for access and associates a cursor handle with the opened table.
Example 1: Open a table and return the cursor handle.
This example uses the following input:
hCur := FDbiOpenTable(Database1, 'biolife.db', dbiREADONLY);
The function is defined as follows:
function FDbiOpenTable(Database: TDatabase; TableName: string;
OpenMode: DBIOpenMode): hDBICur;
begin
Result := nil;
Check(DbiOpenTable(Database.Handle, PChar(TableName), nil, nil, nil, 0,
OpenMode, dbiOPENSHARED, xltFIELD, FALSE, nil, Result));
end;
Back to BDE API Reference Page
|
DISCLAIMER: You have the right to use this technical information subject to
the terms of the No-Nonsense License Statement that you received with the Borland product to which
this information pertains.
|
|