Filter and Order By
Kalipso - Developing - Form - Expressions - Filter and Order By
A Filter or Order By, when in Kalipso Syntax, is very simple to use. You don’t have to worry about single-quotes (‘).
When editing an Expression of this type, you have available Functions and all the Kalipso objects from where you can retrieve values (Global Variables, Controls and Local Variables). To use any of these items you just have to double-click it and it will be automatically added to the Expression.
Examples:
Example 1
Select Code from Products where Code = ‘001’ In Kalipso, the Filter is considered to be: Code = ‘001’ So, when defining the Filter, you would enter something like this: Field(Products, Code) = CTRL(iProduct)
Example 2
Select Code from Products where Family = ‘002’ and Stock > 0 and DateDue > ‘20100224’ In Kalipso, the Filter is considered to be: Family = ‘002’ and Stock > 0 and DateDue > ‘20100224’ So, when defining the Filter, you would enter something like this: Field(Products, Family) = CTRL(cProduct) and Field(Products, Stock) = CTRL(cProduct) and Field(Products, DateDue) = CTRL(iDate)
Last updated
Was this helpful?