<<

Contents

Search

>>

 

GET_MEMO$

 

 

Function

 

 

Syntax:

GET_MEMO$(<Data Field>)

 

<Data Field> = <INDEX FILE FIELD>

 

Meaning:

Returns the memo field of a field of a dbase file.

 

<Data Field> must be an alphanumeric field.

 

The memo text is read from the file <Index filename>.dbt via the record number saved in <Data Field>.

 

If GETMEMO$ is executed successfully the variable OK is set to 0.

 

In the case of an error the function returns the empty string and OK contains the error number.

 

Parameter:

Data Field

<Index File Name>.<Fieldname>

 

Sample:

TEXT$ = GETMEMO$(CUSTOMER.MEMO$)

IF OK <> 0

THEN … Error …

ENDIF

 

See also:

PUT_MEMO