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.
BOOL CRPE_API PEGetNthTableSessionInfo (
short printJob,
short tableN,
PESessionInfo FAR *sessionInfo );
Identifies the print job that uses the table for which you want to retrieve the session information. | |
Specifies the 0 | |
Specifies a pointer to PESessionInfo. |
Declare Function PEGetNthTableSessionInfo Lib "crpe32.dll" ( _
ByVal printJob As Integer, ByVal TableN As Integer, _
SessionInfo As PESessionInfo ) As Integer
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 |