public class
FormRun extends ObjectRun
{
DimensionDefaultingController dimDefaultingController;
NumberSeqFormHandler numberSeqFormHandler;
NumberSequenceReference numberSequenceReference;
QueryBuildRange qbr1;
QueryBuildDataSource qbds1;
}
public void
init()// init method of datasource
{
super();
qbds1 = this.query().dataSourceTable(TableNum(CollectorInformation));
qbr1= qbds1.addRange(FieldNum(CollectorInformation, Branch));
}
public void
executeQuery()
{
;
if(Branch.valueStr())
qbr1.value(queryvalue(Branch.valueStr()));
else
{
qbr1.value(SysQuery::valueUnlimited());
}
super();
}
public boolean
modified()
{
boolean
ret;
ret = super();
CollectorInformation_ds.executeQuery();
CollectorInformation_ds.refresh();
CollectorInformation_ds.reread();
return
ret;
}
No comments:
Post a Comment