True DataControl 8.0 Reference > Field Object > Field Object Properties > QueryMode Property (Field) |
Specifies whether a field appears in query mode, datasource mode or both.
Field.QueryMode= value
Read/Write at run time and design time. Property applies to Field object.
Design Time |
Run Time |
0 – Both (default) |
tdbQueryAndDataSource |
1 – Query only |
tdbQueryOnly |
2 – DataSource only |
tdbDataSourceOnly |
This property specifies whether the field should appear only in query mode, only in result mode, or in both modes.
If set to 0 – Both, the field is visible regardless of the TData.QueryMode setting.
If set to 1 – Query only, the field is visible only when TData.QueryMode = True.
If set to 2 – DataSource only, the field is visible only when TData.QueryMode = False.
For more information, see Query Mode.