PROBLEM

IFieldChecker.ValidateTableName never returns an esriHasInvalidStartingCharacter value

Last Published: April 25, 2020

Description

IFieldChecker.ValidateTableName never returns an esriHasInvalidStartingCharacter value even when an InvalidStarting character is the problem. An esriHasInvalidCharacter is returned instead.

Cause

The wrong esriTableNameErrorType value
is returned by the source code.

Solution or Workaround

When an esriHasInvalidCharacter value is returned, check the corrected name. If an esriHasInvalidStartingCharacter should have been returned, the corrected name will be the original name minus the first character. The corrected name when an esriHasInvalidCharacter value is returned has the invalid character replaced with a "_" in its original location.

Article ID:000004441

Software:
  • ArcMap 8 x

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic