In c-treeACE V11.5 and later, ctsqlGetParameterIndexByName, provides a way to identify the parameter index number from its name when using named parameters.
ctsqlGetParameterIndexByName
Declaration
CTSQLRET ctsqlGetParameterIndexByName(pCTSQLCMD hCmd CTSQLCHAR* name)
Description
Retrieve the parameter index given its name when using named parameter :name.
Return
Return the parameter index or -1 if not found.