GetSpecificFieldMaxNum Function
The GetSpecificFieldMaxNum function is used to return the maximum number of a fields that use a particular variablename for a specific object type.
Function Prototype
GetSpecificFieldMaxNum(ObjectType, Field)
Parameter Definitions
ObjectType : String The type of object for which information is being requested.
Field : String The variablename for which the maximum number of fields is being requested. This should just be the variablename and should exclude the location number that can be included to indicate different fields that use the same variablename, i.e. do not include the colon and number that can be included when identifying a field.
Output
An integer that specifies the maximum number of fields that use the same variablename for a particular object type. Fields are identified in the format variablename:location when multiple fields use the same variablename. The output indicates the maximum number that the location can be. Generally, fields are identified starting from 0 and going up to the maximum number, but keep in mind that values within this range might be skipped and not used to indicate valid fields.