Clone

ACCPAC Common Controls

AccpacSession.Clone

Clones the current AccpacSession object. The new object has the same authentication information as the current session object, but is attached to a different company database ID.

Function Clone(
  CompanyID As String) As AccpacSession

Parameters

CompanyID

[in] the database ID of the company to which the new session should be attached

Return Value

Returns the cloned AccpacSession object.