ComponentOne True DataControl 8.0
QueryMode Property (Field)

Specifies whether a field appears in query mode, datasource mode or both.

Syntax

Field.QueryMode= value

Remarks

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.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback