Equinox Online Help - Language Reference - A to Z

Home

Catalogname

Applies to
SyntaxCatalogName ObjectType, ItemNumber, Name [, Upgrade]
Action[Function] Once a catalog has been created (using LoadCatalogs) CatalogName can be used to extract the name of an item in the catalog.
ScopeUsable anywhere
Notes

ObjectType can take one of six parameters:

  • 1 Tables
  • 2 Fields
  • 3 Indexes
  • 4 Workarea
  • 5 Libraries
  • 6 Public procedures

ItemNumber is an integer that refers to the number of the item you are retrieving the name for in the list of catalog items.

Name will contain a string when the function is returned

Upgrade is an optional parameter that takes the value 0 or 1.

  • 0 is the default and uses the application catalog.
  • 1 will specify that the catalog held within the .pub file must be used. This file must be named [appliationName].pub and should be placed in the root folder of the application.
CategoryCatalogs
See Also CatalogEnumProperty, CatalogProperty, LoadCatalogs
Example

This example gets the item name based on the ObjectType and ItemNumber:

CatalogName vnObjectType, vnItemNumber, vsName