Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

IS_FIELD( cVar )

Purpose

Determine if a string is a field name in the current table.

Arguments

     cVar -- field name to validate

Setup

None.

Example

     USE CUSTOMER
     USE PRODUCT NEW
     ? IS_FIELD( "Desc" )              && Returns .T.
     ? CUSTOMER->( IS_FIELD( "Desc" ))         && .F.

     ? CUSTOMER->( IS_FIELD( "Account_No" ))   && .T.

Returns

.T. if cVar is a field in the current table, else .F.

Side Effects

None.

Artful Calls

None.

Source File

ARTFUL.CH

See Also: FIELD_NO() IS_VIRTUAL()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson