Active Query Builder  »  SQL Query Builder  »  SQL Query Builder for Delphi

Professional VCL Subscription

The Professional VCL Subscription additionally includes several visual controls to build professional SQL query building environment.

Advanced SQL Text Editor

A fully functional text editor for editing text SQL queries and SQL scripts.

Experienced query writers won't usually need a visual query builder to write a query. They can use it to represent a query visually to understand its structure. For such users, a powerful text editor is of high importance. The Professional version of Active Query Builder includes SQL text editor with such essential features as code completion and syntax highlight. It uses Active Query Builder's parsing engine to determine the current context and display the proper completion lists.

Main features:

  • Customisable SQL syntax highlighting.
  • Code completion, taking the current SQL syntax into account.
  • Search and replace in the text.
  • Gutter with line numbers.
  • Word wrapping.
  • Splitting SQL scripts by statements.
  • Folding SQL statements in scripts.

SQL Expression Editor

A handy dialogue for easy editing of lengthy SQL expressions in the Expression and Criteria columns of the Query Columns List.

  • Built on the base of the SQL Text editor.
  • Displays list of tables and columns used in the current sub-query for the quick addition to the text of expression.
  • Displays database schema tree, lists of functions, and other useful information in the left side panel.
  • Easily integrated with the Query Builder by setting a single property (QueryBuilder.ExpressionEditor).

Visual SQL Filter Builder

A new visual control to specify additional filters for SELECT statements. (TacCriteriaBuilder)

  • Presents conditions in a form close to natural language.
  • Allows for the unlimited depth of nested criteria groups to combine AND and OR operators.
  • Allows defining various types of conditions for columns of original SQL query taking their data types into account.
  • Allows for browsing for existing values of a field and data in related objects for foreign key fields.
  • Enables definition of free-form conditions by typing arbitrary logical SQL expressions (can be disabled).
  • Can be collapsed to free some space for other controls on the form. Being collapsed displays the filter string.
  • Saves state to an XML string to restore on the next work session.

This control is a user interface for the well-proven non-visual TacQueryTransformer component which performs various changes with the query: changes sorting, hides and renames columns, calculates aggregated values for result query dataset.

It was primarily made to let users make changes to the query while browsing the result query data, so placing it above the data grid will let you make a robust end-user interface to work with data. You can set handlers for user clicks on the grid column headers to change the sort order, and define other handy ways to sort and filter data. For example, you can set a context menu for grid data cells and let define filters for specific column and value (is equal, is not equal to). All of that settings will be processed by the TacQueryTransformer object (and reflected in the Criteria Builder) which will produce a new query to execute and display it to the user.




We have been using Active Query Builder for over a year and must say that both the product and support have been outstanding!

We chose Active Query Builder due to its flexibility and features, but have been truly pleased by its power and hidden capabilities. ...

In summary Active Query Builder provides excellent components, great support and a very flexible feature set. It has allowed us to provide features to our end users that I did not think would be possible in the first release of our new tools and in a timeframe that was much shorter than planned. I would recommend that anyone dealing with databases in the .Net world should be aware of this component and its capabilities!

Social networks