ComponentOne Query 8.0
C1Query Object

C1Query Object Properties

ApplyExtensions

Determines how schema extensions can be applied if necessary in SQL generation.

ClauseFrom

Returns the FROM clause of the last generated SQL statement.

ClauseGroupBy

Returns the GROUP BY clause of the last generated SQL statement.

ClauseOrderBy

Returns the ORDER BY clause of the last generated SQL statement.

ClauseSelect

Returns the SELECT clause of the last generated SQL statement.

ClauseWhere

Returns the WHERE clause of the last generated SQL statement, or the Filter text in data source mode.

DataMember

Sets/returns the DataMember for the OLE DB DataSource.

DataSource

Specifies the source of schema information in data source mode.

DataSourceFields

Returns the collection of Field objects in data source mode.

FilterMode

If True, the control is in Filter mode.

MainViewCount

Returns the number of main views in the schema.

MainViewName

Returns/sets the name of the currently active schema main view.

MainViewNames

Returns the name of a main view from the collection of the schema main views.

NameSubstitute

Used as a substitute for the control's Name property in environments that do not support standard property such as Name or Id.

SaveSchemaAsString

If True, schema is saved as string instead of byte array.

Schema

Returns/sets the control's schema as a string.

SQL

Returns the SQL statement generated by the last BuildSQL call.

SQLInfo

Object used for customizing SQL syntax settings and parameters.

Templates

Returns/sets the string modifying HTML templates in C1QueryFrame controls attached to the control, defining their look and UI.

 

C1Query Object Methods

 

BuildSQL

Builds SQL statement.

LoadSchemaFromFile

Loads the schema from a file to the control.

RetrieveFieldsFromDataSource

Retrieves the field list from DataSource to the Fields collection, in data source mode.

ShowFolderFields

Shows or hides folders/fields in schema and field menu.

 

C1Query Object Events

 

BeforeSQLGeneration

 Occurs before SQL generation and allows the user to change query items and syntax rules affecting resulting SQL.

Error

Occurs as a result of an error condition.

FormatLiteral

Occurs before inserting a literal value in SQL statement.

 

 

 


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

Product Support Forum  |  Documentation Feedback