The *DBCLOSE command closes an open spreadsheet file. The form of the *DBCLOSE command is:

[*DBCLOSE fileindex]

Where the index name fileindex was used in the *DBOPEN command.

Files opened with *DBOPEN should be closed with *DBCLOSE when they are no longer needed.

Any number of *DBLOOP commands can be used on an open file.

Examples of *DBCLOSE commands:

[*dbclose dfNameFile]

[*dbclose dfMain]