PESetNthTableLogOnInfo

Use PESetNthTableLogOnInfo to set the log on information for the specified print job to the values in PELogOnInfo.

C Syntax
BOOL CRPE_API PESetNthTableLogOnInfo (
    short printJob,
    short tableN,
    PELogOnInfo FAR *logOnInfo,
    BOOL propagateAcrossTables );
Parameters

printJob

Specifies the print job for which you want to set table log on information.

tableN

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

logOnInfo

Specifies a pointer to the PELogOnInfo.

propagateAcrossTables

If set to TRUE, the program will apply the new log on information to any other tables in the report that had the same original server and database names as the specified table. If set to FALSE, the program will apply the new log on information only to the table specified.

Returns
Remarks
VB Syntax

VB Sample Code for modifying database table settings

Declare Function PESetNthTableLogOnInfo Lib "crpe32.dll" ( ByVal 
printJob As Integer, ByVal TableN As Integer, LogOnInfo As PELogOnInfo, 
ByVal Propagate As Integer ) As Integer
Delphi Syntax

Delphi code for logging on/off a server

function PESetNthTableLogOnInfo (
    printJob: Word;
    tableN: smallint;
    var logOnInfo: PELogOnInfo;
    propagateAcrossTables: Bool
    ): Bool stdcall;


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