Get2

ACCPAC Common Controls

AccpacErrors.Get2

Retrieves an error message based on its 0-based index in the collection. This method also returns all of the related information for the error message.

Sub Get(
  Index As Long,
  pMsg As Variant,
  pPriority As Variant,
  pSource As Variant,
  pErrCode As Variant,
  pHelpFile As Variant,
  pHelpID As Long)

Parameters

Index

[in] the 0-based index of the error message in the list

pMsg

[out] the error message

pPriority

[out] error priority

pSource

[out] the source of error

pErrCode

[out] the error code

pHelpFile

[out] the help file in which help messages can be found for this error

pHelpID

[out] the Context ID of the help message

Remarks

Script languages should use this variation of the Get function.