look at the view-entity.
there are some examples in the entitydef folder of most applications.

[EMAIL PROTECTED] sent the following on 11/15/2007 8:11 AM:
> Hi
> 
> I have a problem to create an entity-condition that compares to
> fields on the database.
> 
> SampleEntity:
> Field 1: fromDate
> Field 2: minimumFromDate
> 
> what I want is to fetch only the fields from the database where 
> fromDate <
> minimumFromDate. Unfortunately, it seems that it is only possible 
> to
> compare against values in entity-condition. What I need is 
> something
> like
> 
>                 <entity-condition entity-name="SampleEntity" list-
> name="samples">
>                     <condition-list>
>                         <condition-expr field-name="fromDate"
> operator="less" to-field="minimumFromDate"/>
>                     </condition-list>         
>                 </entity-condition>
> 
> Am I missing the obvious or is it not possible to create such
> queries easily in Screens, Minilang etc.
> 
> Thank you very much and best regards
> 
> Markus Studer
> 
> 
> 
> 

Reply via email to