public static void TRGvalidateHours(FormControl sender, int controlName)
{
FormRealControl control = sender as FormRealControl;
FormRun formRun = sender.formRun();
FormStringControl projIdControl = formRun.design().controlName(formControlStr(TSTimesheetEntry,ProjId));
FormDataSource TSTimeSheetLineWeek_ds = formRun.dataSource(formDataSourceStr(TSTimesheetEntry,TSTimesheetLineWeek)) as FormDataSource;
TSTimesheetLineWeek timesheetLineWeek = TSTimeSheetLineWeek_ds.cursor();
TSTimesheetTable timeSheetTable = TSTimesheetTable::find(timesheetLineWeek.TimesheetNbr);
ProjTable projTable = ProjTable::find(projIdControl.text());
}
No comments:
Post a Comment
Give me the commetns and solutions