CHANGE_FILETYPE
|
Syntax: |
CHANGE_FILETYPE([<Name
of Index File>,]<File Type>)
|
||||||||||||
|
Meaning: |
With this function the File Type of an index
file can be changed from "E" (EBUS) to "J" (JDBC) or the
other way around during the program. The File Type "D" (Dbase)
cannot be changed. CHANGE_FILETYPE
is executed successfully only if the Index File <Name of Index File> is
closed, otherwise error –1 is returned. If no Index File is specified, the File Type
is changed with all Index Files of the program. Index Files with File Type
"D" (Dbase) are ignored. CHANGE_FILETYPE
returns the following values:
|
||||||||||||
|
Parameter: |
|
||||||||||||
|
Sample: |
H% = CHANGE_FILETYPE(SALES,"J") IF H% <> 1 THEN ... Error ... ENDIF |
||||||||||||
|
See also: |
|