Hi, all
public void executeQuery()
{
this.query().dataSourceTable(tableNum(NewTestCase)).clearRanges();
if (StartDate.dateValue())
{
this.query().validTimeStateAsOfDate(StartDate.dateValue());
}
if (LessThan.dateValue())
{
this.query().validTimeStateDateRange(LessThan.dateValue() , StartDate.dateValue());
}
if (greaterThan.dateValue())
{
this.query().validTimeStateDateRange(greaterThan.dateValue(), StartDate.dateValue());
}
if (greaterThanEqual.dateValue())
{
this.query().validTimeStateAsOfDate(greaterThanEqual.dateValue()-1);
}
if (lessthanEqual.dateValue())
{
this.query().validTimeStateAsOfDate(lessThanEqual.dateValue()+1);
}
super();
// i am working on inquiry form now i want to how to do it in the ValidTimeState
// aslo how to clear in the grid validTimeState
// 1. start date only working on it.
//2. secound i need a <
// 3. three i need a >
// 4. four i nedd a <=
// 5. five i need a >=
// in x++ how to do it ValidTimestate
thanks