Partilhar via


DictField.isSql Method

Definition

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

public:
 virtual bool isSql();
public virtual bool isSql ();
abstract member isSql : unit -> bool
override this.isSql : unit -> bool
Public Overridable Function isSql () As Boolean

Returns

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

Remarks

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"); 
} 
}

Applies to