<<

Contents

Search

>>

 

GET_FIELDPOS

 

 

Function

 

 

Syntax:

GET_FIELDPOS(<Filename>,<Field Name>)

 

<Filename>

= <STRING-EXPRESSION>

<Field Name>

= <STRING-EXPRESSION>

 

 

Meaning:

Returns the position of a field of an Index File in the data record.

 

This function can be used in order to specify the position of an Index File field if a full text search is to be carried out with the function SEARCH.

 

Parameter:

Filename

Name of Index File

Field Name

Field name

 

Sample:

POS% = GET_FIELDPOS("CUSTOMER","NAME")

 

See also:

GET_FIELDLENGTH

GET_FIELDVALUE

GET_FIELDVALUE$