RscGetString

ACCPAC Common Controls

AccpacSession.RscGetString

Retrieves a string from the application's server-side string resource file.

Function RscGetString(
  AppID As String,
  strID As Long) As String

Parameters

AppID

[in] the two-letter application ID

strID

[in] the resource ID of the string in the application resource file

Return Value

Returns the resource string that matches the specified resource ID. Returns an empty string ("") if the resource ID could not be found in the resource file, or if the specified application ID is not an activated application on the current company.

Remarks

This function only requires the application ID. The application version is determined automatically, and is the activated version of the specified application on the current company.