GetOpened (query file's opened status)

Top  Previous  Next

GetOpened( )

GetOpened

Retrieves the number of times a file is currently opened.

The GetOpened method is used to retrieve the number of times a file is currently opened. It does this by reading the PROTECTED Opened property

Implementation:

GetOpened retrieves the value of the PROTECTED Opened property. It can be useful for detecting the number of times a file has been opened, in order to absolutely be sure that the file has been closed.

Return Value:     UNSIGNED

Example:

LOOP Access:Customer.GetOpened() TIMES

Access:Customer.Close()

END