CompleteProcessServerSettings

ACCPAC Common Controls

AccpacReport.CompleteProcessServerSettings

Takes the AccpacProcessServerSetup object for the report and uses it to complete the report configuration. Call this after the AccpacProcessServerSetup object has been configured and before printing.

Function CompleteProcessServerSettings() As Long

Return Value

Returns 0 upon success and a non-zero error code upon failure.

Remarks

If a report is configured to be run through the Process Server, the following must be done:

  1. Create the report object by calling ReportSelect of an AccpacSession object.

  2. Check the RequiresProcessServerSettings property.

  3. If TRUE, call GetProcessServerSetup to get an AccpacProcessServerSetup object.

  4. Configure the AccpacProcessServerSetup object.

  5. Call CompleteProcessServerSettings to save the AccpacProcessServerSetup settings to the report object.

  6. Call Confirm as usual.

The AccpacProcessServerSetup object is a hidden member of the ACCPAC COM API library.