Active Query Builder News

May 20, 2011

Active Query Builder VCL and ActiveX Editions 1.17 released.

We're glad to announce the new minor version of Active Query Builder. You can download the newest version from the download page.

What's new in the Active Query Builder version 1.17?

  • Behavior changes
    • The Select checkbox is checked automatically now on adding a new expression.
    • The numbers entered into condition for string fields are treated as literals now.
    • SQL queries that look like "select orders.orderId from orders o" are fixed now to "select o.orderId from orders o".
    • Grouping is set automatically now on specifying the aggregate for a column to avoid generation of non-valid SQL statements.
    • The "=TRUE" condition is set automatically on adding a logical expression now. Useful on adding the EXISTS expressions.
    • Automatic alias assignment is made when user adds two or more columns with same name to the query.
      The warning message is shown when muptiple columns with same name appear in sub-queries in result of user actions as this may lead to inconsistence in the calling sub-query.
    • OLE drag-and-drop of text items to design area and criteria grid is made.
  • SQL Syntax changes
    • SQLite: The component can load foreign keys now.
    • SQLite: The list of aggregates and built-in functions is filled now.
    • MS SQL Server: Fetching metadata object descriptions from database is made.
    • Oracle: The GetSchemasListOracle procedure returns only schemas which have accessible database objects now.
    • Nexus DB 3: Metadata fetching is made.
    • MySQL Query Properties form is redesigned.
    • MySQL: The [Default|DISTICTS|ALL] query options are added to the Query Properties dialog.
  • Other changes
    • Language files are converted to UTF8. The component allows to read language files in both ANSI and UTF8 encoding now.
    • The new sample project is added to demonstrate how to replace all the WHERE clause or to append new condition string to the query.
    • Support of DevExpress ver.56 is made. (Package name renamings were made)
    • C++ Builder 6 support is reverted.
  • API Chnages
    • The new OnUserMessage event is added.
      It is fired when the Query Builder is about to show the warning message to the user. You may override this behavior by handling this event.
    • The new properties are added to allow OLE drag'n'drop of text items to the Design Area and the Query Colums Grid:
      OLEDragAndDrop and SelectListOptions.OLEDragAndDrop (set to true by default in the ActiveX Edition; false in the VCL Edition).
    • The new TacQueryBuilder.LinkOptions.CreateLinksByIdenticalFieldNames property is added.
      It instructs the component to add links between objects by identical field names automatically (might be helpful for legacy databases without foreign keys).
    • The new TacQueryBuilder.LinkOptions.CreateWhereJoinsByDefault property is added.
      Setting it to true instructs the component to create joins in WHERE clause instead of using ANSI joins. Note that the ANSI joins still may be created if the user will make an OUTER JOIN. For Oracle syntax, the component will create Oracle-style joins (+=, =+) except FULL OUTER JOIN.
    • The new property is made to define formatting rules of CTE sub-queries independently from derived tables.
      VCL Edition: TacSQLBuilder.CTESubQueryFormat; ActiveX Edition: ActiveQueryBuilderX.SQLFormatCTE.
    • The new property TacMetadataContainer.LoadInvertedRelations is added to get relations assigned to the detail table instead of master table while loading metadata.
    • New events OnAfterCreateControl and OnBeforeDestroyControl are added.
      You can use them for additional customization of the query builder UI controls.
    • The new properties are added to TacQueryBuilder.FieldsListOptions group: the HideAsteriskItem allows to remove the asterisk item from the field lists; the SelectAllFieldsByDefault instructs the component to check all fields of a datasource on adding it to the query building area.
    • The new AParam.CompletionsList property in OnCustomExpressionBuilder event is added to get access to the list of datasource columns of the currently active sub-query.
    • ObjectMetadataLoading and ObjectMetadataLoaded events were not fired in offline mode. Fixed now.
    • The new method TacUnionSubQuery.AddLinksFromExpression() is added for manual adding of links with complex joining expressions.
    • The new TacQueryBuilder.OnActiveUnionSubQueryChanged event is added.
» All Active Query Builder news

Tweets

News

Testimonial

With users expecting better and better interfaces to deal with complex data retrieval, Active Query Builder has allowed me to provide a highly professional, robust environment to both novice users and skilled query writers.

Thanks to all the team involved. Please keep up the good work.

Screenshots

Join Types

Automatic Joins Creation
Active Query Builder automatically determines relationships between tables and creates appropriate joins for them.

Different Join Types
Active Query Builder allows to define different join types and various server-specific query options visually.

Unions and Sub-queries

Unions and Sub-Queries
Unions, sub queries and derived tables can be accessed and built visually in Active Query Builder as easy as the main query.

Grouping, Sorting and Criteria
Active Query Builder allows to define grouping, sorting, and constructing criteria in a simple and direct way.


Active Query Builder Screenshots

Social networks

Active Query Builderon Google+