CreateObjectHandle2

ACCPAC Common Controls

AccpacSession.CreateObjectHandle2

Creates a new object handle to be used to launch another application.

Function CreateObjectHandle2(
objectID As String,
ObjectKey As String) As String

Parameters

objectID

[in] the Roto ID of the application object to be launched

ObjectKey

[in] a key to be passed to the launched object

The key is a String of any format as long as it is understood by both the current application and the object to which the key is passed.

Return Value

Returns the new object handle.

Remarks

Script languages, such as Javascript, which do not support "out" parameters should use this version of the CreateObjectHandle method.