PEGetNthTableSessionInfo

Use PEGetNthTableSessionInfo to set the session information for a Microsoft Access table being used in your report. Many MS Access database tables require that a session be opened before the information in the table can be used. Use PEGetNthTableSessionInfo to obtain the session information (User ID, Password, and Session Handle) for a particular table.

C Syntax
BOOL CRPE_API PEGetNthTableSessionInfo (
        short printJob,
        short tableN,
        PESessionInfo FAR *sessionInfo );
Parameters

printJob

Identifies the print job that uses the table for which you want to retrieve the session information.

tableN

Specifies the 0-based number of the table for which you want to retrieve session information. The first table is table 0. The last table is N-1.

sessionInfo

Specifies a pointer to PESessionInfo.

Returns
Remarks
VB Syntax
Declare Function PEGetNthTableSessionInfo Lib "crpe32.dll" ( _
    ByVal printJob As Integer, ByVal TableN As Integer, _
    SessionInfo As PESessionInfo ) As Integer
Delphi Syntax
function PEGetNthTableSessionInfo (
    printJob: Word;
    tableN: Integer;
    var sessionInfo: PESessionInfo
    ): Bool stdcall;


Seagate Software IMG Holdings, Inc.
http://www.seagatesoftware.com
Support services:
http://support.seagatesoftware.com