Is_File_Included
Purpose
To determine which files will be affected when the entry_update, entry_display, and entry_clear messages are sent during a data-dictionary operation. This command is rarely used by developers.
Syntax
Is_File_Included {file-number} {operation-type}
Where: - {file-number} is the file list number of the file to be affected. - {operation-type} determines what operation type you are testing: - A clear (0) - A find/save operation (1)
What It Does
This command determines if the last data-dictionary operation caused a record in a file to be cleared or found. You pass the file number and the operation type.
- If the operation type is
0and the file was cleared, the Found expression will return a True value. - If the operation type is
1and a record was found in the file, the Found expression will return a True value.
This command is internal and should only be used by developers who thoroughly understand how data-dictionary objects and data-entry objects interact. Examples of its usage can be found by reviewing the DataFlex packages.