Use PEGetNTables to retrieve the number of tables in the open report. It counts both PC and SQL databases. This function is one of a series of functions that enable you to retrieve and update database information in an opened report so that the report can be printed using different server, database, user, and/or table location settings.
short CRPE_API PEGetNTables (
short printJob );
Specifies the print job from which you want to retrieve a table count. |
Declare Function PEGetNTables Lib "crpe32.dll" ( ByVal printJob As Integer _
) As Integer
function PEGetNTables (
printJob: Word
): smallint stdcall;
EXTERN CWORD PEGetNTables (CWORD) CRPE.DLL
| Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |