Get

ACCPAC Common Controls

AccpacErrors.Get

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 String,
  pPriority As tagErrorPriority,
  pSource As String,
  pErrCode As String,
  pHelpFile As String,
  pHelpID As Long)

Parameters

Index

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

pMsg

[out] the error message

pPriority

[out] the 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