<<

Contents

Search

>>

 

DENY_ACCESS

 

 

Instruction

 

 

Syntax:

DENY_ACCESS <Name of Index File or Index Field Name>

 

<Name of Index File or Index Field Name> = <INDEX FILE NAME> | <INDEX FILE FIELD>

 

Meaning:

DENY_ACCESS denies access to an Index File field or all fields of an Index File.

 

When a data record is read the disabled index file field is filled with blanks or zero. When a data record is rewritten the original content is kept in the data record. When a data record is newly created the field stays empty.

 

If the name of an Index File is given, all fields of the Index File are disabled.

 

Access to Index File fields can be denied (DENY_ACCESS) and allowed  (ALLOW_ACCESS) any number of times during the run of the program. It is not necessary to close an open the Index Files.

 

At the start of the program all Index File fields can be accessed.

 

Parameter:

Name of Index File or Index Field Name

Index File or Index File Field

 

Sample:

DENY_ACCESS CUSTOMER.NAME$

 

See also:

ALLOW_ACCESS

FILEACCESS