<<

Contents

Search

>>

 

GET_FIELDVALUE$

 

 

Function

 

 

Syntax:

GET_FIELDVALUE$(<Filename>,<Field Name>)

 

<Filename>

= <STRING-EXPRESSION>

<Field Name>

= <STRING-EXPRESSION>

 

 

Meaning:

Returns the alphanumeric value of an Index File field.

 

<Filename> must contain the name of an Index File. The Index File must be used in the program.

 

<Fieldname> must contain the name of a field of the Index File <Filename>. If <Fieldname> is a numeric field, GET_FIELDVALUE$ returns as result the program internal presentation of the numeric value.

 

In the case of an error GET_FIELDVALUE$ returns as result the empty string "" and the variable OK contains -1. Otherwise OK = 0.

 

Parameter:

Filename

Name of Index File

Field Name

Name of a field of Index File

 

Sample:

FILE$ = "Customer"

FIELD$ = "NAME$"

NAME$ = FIELDVALUE$(FILE$,FIELD$)

 

See also:

GET_FIELDVALUE

OK