SET_FIELDMODE
|
Syntax: |
SET_FIELDMODE(<Name of Index
File>,<Field Name>,<Mode>)
|
||||||
|
|
|
||||||
|
Meaning: |
Sometimes characters are converted in order
to save data in the Index Files. If encoded data in Index File Fields
(function ENCRYPT$) or formatted data from the word processor (styled text) are saved,
the conversion of data eliminates the encoding. SET_FIELDMODE with
<Mode> = 0 has the effect that the data of the specified Index File
Field are not converted. At the start of the program Mode 1 applies to
all Index File Fields. SET_FIELDMODE returns the result 0 if no
error occurred, otherwise –1. In the case of an error the variable ERRORTEXT$ contains the error text. |
||||||
|
Parameter: |
|
||||||
|
Sample: |
H% = SET_FIELDMODE("CUSTOMER","DATA$",0) IF H% = 0 THEN CUSTOMER.DATA$ = ENCRYPT$("DES","SCHL1234","Hello
World") ENDIF |
||||||
|
See also: |
|