User Tools

Site Tools


setopenmode_set_current_file_s_open_mode_.htm
Navigation:  ABC Library Reference > FileManager > FileManager Methods >====== SetOpenMode (set current file's open mode) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page

SetOpenMode( openmode )

blk2blue.jpg

SetOpenMode Sets the open mode of the current filename.
openmode A BYTE constant, variable, or expression that sets the current file's OPEN mode.

The SetOpenMode method is used to set the current file's access mode, prior to the file being opened. It also notifies the FileManager that the default template setting will be overridden.

Implementation:

SetOpenMode sets the PROTECTED OpenMode property. It also sets the PROTECTED OpenModeOverwritten property to TRUE.

Example:

Access:Customer.SetOpenMode(42H)

Access:Customer.Open()

See Also: GetOpenMode

setopenmode_set_current_file_s_open_mode_.htm.txt · Last modified: 2021/04/15 15:57 by 127.0.0.1