User:anonymousLog inRegister
Recents:
Query Object Expressions

When adding query elements to a query definition, several options are available to  be assigned.

Arithmetic expressions

Any valid arithmetic expression such as:

  • CustomerAge + CusIdentifierId – 1245
  • InvoiceSubtotal * 2

Aggregate expressions

Any valid aggregatte expression such as:

  • Sum(CusId + CusId)
  • Sum(InvoiceTaxes+InvoiceNonTaxes)
  • Sum(CusId) + Sum(CusId)
  • Sum(InvoiceTotal)/Count(InvoiceId)

Filtering expressions

A valid filtering expression:

  • Sum(InvoiceTotal) where YearId = 2008
  • Sum(InvoiceTotal) where YearId < 2008 / Sum(InvTot) where YearId > 2007

Functions

The following list of available functions can be used:

Examples

  • Month(InvDate)
  • Trim(Str(Year(InvDate)))
  • Upper(CustomerName)

Created: 08/19/09 01:59 PM by lsilveira Last update: 05/27/13 01:07 PM by dmarquez
 
Page
Share
Categories
Group
Powered by GXwiki 4.0 Beta1 (generated with GeneXus X Evolution 2)