Xbasic

Field Methods

Description

Alpha Anywhere provides the following Field methods.

Methods

FIELD.BLANK_PUT Method

Blanks the field contents.

FIELD.DEC_GET Method

Gets the fields' number of decimal places.

FIELD.EXPR_GET Method

Return the expression if field is a calculated field.

FIELD.EXPR_SET Method

Change the expression if field is a calculated field.

FIELD.FULLNAME_GET Method

Gets the full field name (Table and Field).

FIELD.HANDLE Method

Returns an old style handle.

FIELD.HAS_RULES Method

Returns TRUE if field has loaded rules.

FIELD.INITIAL_VALUE_GET Method

Gets the initial field contents (before data entry).

FIELD.IS_BLANK Method

Returns TRUE if the field is blank.

FIELD.IS_VALID Method

Is the current field valid.

FIELD.LINK_TABLE_GET Method

Returns table of link if field is a linking key, blank if field is not a linking key.

FIELD.LINK_TYPE_GET Method

Returns type of link if field is a linking key, blank if field is not a linking key.

FIELD.MEMO_READ_FROM_FILE Method

Read the contents of a file into a memo.

FIELD.MEMO_WRITE_TO_FILE Method

Write the contents of a memo field to a file.

FIELD.NAME_GET Method

The <FIELD>.NAME_GET() method returns the Field_Name of a field referenced by the <FIELD> object pointer.

FIELD.RULES_GET Method

The .RULES_GET() method returns the field rules for the field.

FIELD.TAG_GET Method

If the field is indexed, return the tagname, else return an empty string.

FIELD.TYPE_GET Method

The .TYPE_GET() method returns the Field_Type of a field referenced by the object pointer. The result is a character code representing one of the following field types:

FIELD.VALUE_GET Method

Gets the field contents. Clipboard format is optional format of data.

FIELD.VALUE_PUT Method

Sets the field contents. Clipboard format is optional format of data.

FIELD.WIDTH_GET Method

The .WIDTH_GET() method returns the Field_Width of a field referenced by the object pointer.

Field_Rules.Change_Begin Method

The .Change_Begin() method indicates that you are about to change the value of a field rule. Use <TBL>.RULES_GET() to create the pointer.

Field_Rules.Change_End Method

The .Change_End() method indicates that you are finished changing the value of one or more field rules and want to save the changes. Use <TBL>.RULES_GET() to create the pointer.

Field_Rules.Mode_Get Method

Determines the current data entry mode of the pointer.