IsIDAlphNum

This property sets or returns whether an Associative Search Engine's (ASE) unique ID is alphanumeric. If TRUE, then the field is alphanumeric, if FALSE then the field is numeric.

When accessing this attribute from the CdrWorkDoc object, the property is taken from the ASE configured for the Classification field.

When accessing this attribute from the CdrField object, the property is taken directly from the ASE field for the class.

In some complex project configurations, the following considerations may apply where direct access to fields is needed to look directly at the ASE field attribute rather than the workdoc.

  1. When the project hierarchy has a parent class where the classification field UniqueID is of Type A (for example alphanumeric) but the same field on a Child Class if of Type B (for example numeric). In this instance accessing the workdoc.IsIDAlphNum always returns the parent setting, thus requiring the scripter to access the Cedar field property directly.
  2. When the project has many ASE fields, and the IsIDAlphNum is being retrieved or set.

Syntax

IsIDAlphNum as Boolean

Sample Code

Dim pFieldDef as SCBCdrFieldDef
Dim pSettings as SCBCdrSupExSettings
Dim bIsAlphNum as Boolean
Set pFieldDef = Project.AllClasses(pWorkdoc.DocClassName).Fields("MyASSA")
Set pSettings = pFieldDef.AnalysisSetting(Project.DefaultLanguage )
bIsAlphNum = pSettings.IsIDAlphNum