OpenView

ACCPAC Common Controls

AccpacDBLink.OpenView

Opens a view on the current database link.

Function OpenView(
  ViewID As String,
  ppView As AccpacView) As Long

Parameters

ViewID

[in] the Roto ID of the view to open

ppView

[out] returns the AccpacView object created

Return Value

Returns a status code of the view open operation. If the view is opened successfully, the return value is 0.

Remarks

If a view has been configured to be run via Process Server, OpenView will fail and return VC_OPEN_FAILED_PS. In this case, an application should call GetProcessServerSetup, configure the returned object, and then call OpenViewExt, passing in the configured AccpacProcessServerSetup object.