Class declaration
public class ReportRun extends
ObjectRun
{
TransDate fromDate;
TransDate toDate;
dialogField dialogFromDate;
dialogField dialogToDate;
{
TransDate fromDate;
TransDate toDate;
dialogField dialogFromDate;
dialogField dialogToDate;
}
fatch
public boolean fetch()
{
;
while select sharecapital where (sharecapital.DateofAdmn >= fromDate && sharecapital.DateofAdmn <= toDate)
return true;
}
{
;
while select sharecapital where (sharecapital.DateofAdmn >= fromDate && sharecapital.DateofAdmn <= toDate)
return true;
}
dialog
public Object dialog(Object
_dialog)
{
DialogRunbase dialog = _dialog;
;
dialog.addGroup("@SYS40");
{
DialogRunbase dialog = _dialog;
;
dialog.addGroup("@SYS40");
dialogFromDate = dialog.addFieldValue(typeid(TransDate), fromDate,
"@SYS939", "@SYS26930");
dialogToDate = dialog.addFieldValue(typeid(TransDate), toDate, "@SYS15867", "@SYS26929");
dialogToDate = dialog.addFieldValue(typeid(TransDate), toDate, "@SYS15867", "@SYS26929");
return
dialog;
}
}
getfromdialog
public boolean getFromDialog()
{
;
fromDate = dialogFromDate.value();
toDate = dialogToDate.value();
{
;
fromDate = dialogFromDate.value();
toDate = dialogToDate.value();
return
true;
}
}
ไม่มีความคิดเห็น:
แสดงความคิดเห็น