OpenViewExt

ACCPAC Common Controls

AccpacDBLink.OpenViewExt

Opens a view on the current database link, using the Process Server settings specified in the AccpacProcessServerSetup object.

Function OpenViewExt(
  ViewID As String,
  pVal As AccpacProcessServerSetup,
  ppView As AccpacView) As Long

Parameters

ViewID

[in] the Roto ID of the view to open

pVal

[in] an AccpacProcessServerSetup object configured with the desired settings

ppView

[out] returns the AccpacView object created

Return Value

Returns a status code of the view open operation. If the view is successfully opened, the function returns 0. If the Process Server does not respond, the function fails with return code VC_OPEN_FAILED_PSCONNECT.

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