DictField.isSql Method

Returns a value that indicates whether the field is in the SQL database.

Syntax

public boolean isSql()

Run On

Called

Return Value

Type: boolean
true if the field is in the SQL database; otherwise, false.

Examples

The following example determines whether the field is in the SQL database.

    DictField df; 
 
    df = new DictField(tablenum(CustTable), fieldnum(CustTable, AccountNum)); 
 
    if (df) 
    { 
    if (df.isSql()) 
    { 
        print ("Field is in SQL database"); 
    } 
    else 
    { 
        print ("Field is not in SQL database"); 
    } 
    }

See Also

Reference

DictField Class