User Tools

Site Tools


lazyopen_delay_file_open_until_access_.htm
Navigation:  ABC Library Reference > FileManager > FileManager Properties >====== LazyOpen (delay file open until access) C6H0009.jpg ====== Previous pageReturn to chapter overviewNext page
LazyOpen BYTE

blk2blue.jpg

The LazyOpen property indicates whether to open the managed file immediately when a related file is opened, or to delay opening the file until it is actually accessed. A value of one (1 or True) delays the opening; a value of zero (0 or False) immediately opens the file.

Delaying the open can improve performance when accessing only one of a series of related files.

Implementation:

The Init method sets the LazyOpen property to True. The ABC Templates override this default if instructed. See Template Overview--File Handling for more information.

The various file access methods (Open, TryOpen, Fetch, TryFetch, Next, TryNext, Insert, TryInsert, etc.) use the UseFile method to implement the action specified by the LazyOpen property

See Also:     Init, Open, TryOpen, Fetch, TryFetch, Next, TryNext, Insert, TryInsert, UseFile

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