SearchByAlias Function

Applies To  

Uses the alias name to search for a table in the report.

Syntax
SearchByAlias(
    ITABLESET_HANDLE i_hITableSet, 
    ConstChar* i_aliasName,
    bool* o_bIsExists,
    int* o_iIndex)
        Parameters

i_hITableSet [In]

The handle to the ITableSet interface. See hITableSet Variable.

i_aliasName [In]

The table's alias name.

o_bIsExists [Out]

Returns True if the table exists, and False otherwise.

o_iIndex [Out]

The table's index number.

Returns

Each function returns a RET_VALUE that is an error code of type Long. The return value is greater than zero if the call was successful, and zero or less if not. Use RET_OK(x) and RET_ERROR(x) to check for failure.



Crystal Decisions, Inc.
http://www.crystaldecisions.com
Support services:
http://support.crystaldecisions.com