Resource_GetResourceName()

Examples


The Resource_GetResourceName() function returns the name for a specified resource type and ID.

Syntax

Resource_GetResourceName(product_ID, resource_type, resource_ID)

Parameters

product_ID – An integer specifying the product ID of the dictionary from which the resource name is being retrieved.

resource_type – An integer specifying a resource type. The available types and their corresponding integer values are shown in the following list:

[spacer]

Integer values for resource types

1 – Tables

2 – Forms

6 – Data types

7 – Composites

8 – Formats

9 – Strings

15 – Generic pictures

18 – Fields

21 – Procedure scripts

23 – Reports

26 – Global variables

28 – Metafiles

29 – Mac Pictures

30 – Messages

42 – Table Groups

48 – Constants

62 – Functions


resource_ID – An integer specifying the resource ID of the resource whose name is being retrieved.

Return value

A string containing the resource name. If the resource can’t be found, the string [Not Found] is returned.


Documentation Feedback