<<

Contents

Search

>>

 

FILEACCESS

 

 

Instruction

 

 

Syntax:

FILEACCESS[(<Name of Index File>)] = <Rights>

 

<Name of Index File>

= <INDEX FILE>

<Rights>

= <NUM-EXPRESSION>

 

 

Meaning:

Defines the access rights for Index Files.

 

At the start of the program read- and write accesses are available for all Index Files. In the Macro Before Index-Open this standard setting can be changed.

 

The access rights can be changed any number of times in the program. Changed access rights only take effect, however, when the Index File has been closed and opened again.  

 

If no <Name of Index File> is defined with the instruction FILEACCESS, the access mode applies to all Index Files of the program.

 

Parameter:

Name of Index File

Name of Index File

Rights

0: Only read accesses allowed (Read only).

<> 0: Read- and write accesses (WRITE, DELETE) are allowed.

 

Sample:

FILEACCESS(CUSTOMER) = 0

 

See also:

ALLOW_ACCESS

DENY_ACCESS