Click here for NewsObjects Overview
ConvertCriteriaErrIndex Property (Utility Control)
Windows - Visual C++


ReadOnly

Description
The ConvertCriteriaErrIndex property returns the character index of where a syntax error was detected in a string passed to ConvertCriteria.

Syntax
long index = GetConvertCriteriaErrIndex();

The ConvertCriteriaErrIndex syntax has these parts:

 Part

Description

index

A long integer containing the index.

Remarks:

The ConvertCriteriaErrIndex property is only valid after receiving either DDICTL_E_R_PRFSYNTAXERR, indicating a syntax error, or DDICTL_E_R_INVALCHARINPROF, indicating an invalid character, or DDICTL_E_R_PROFTOOCOMPLEX for a complex profile from a call to ConvertCriteria. If the call to ConvertCriteria was successful or not one of the error codes mentioned above, the ConvertCriteriaErrIndex property will return zero.

SeeAlso: ConvertCriteria, ,ConvertString, Profile Editor InFix Notation

Back to: Utility Properties