Cpt:=0; CLEAR(F_JobList); F_JobList.SETTABLEVIEW(T_Job); F_JobList.SETRECORD(T_Job); F_JobList.LOOKUPMODE(TRUE); CurrForm.SETSELECTIONFILTER(T_Job); IF T_Job.FINDSET THEN REPEAT Cpt:=Cpt+1; MESSAGE('%1',Cpt); T_Eligible56204.INIT; T_Eligible56204."Qualification Code" :=QualificationCode; T_Eligible56204.Type := T_Eligible56204.Type::Job; T_Eligible56204.Code := T_Job."No."; T_Eligible56204.Name := T_Job.Description; T_Eligible56204.INSERT; !!!!!! UPDATE HERE !!!! UNTIL T_Job.NEXT = 0; CurrForm.CLOSE;
Refresh () currForm.UPDATE(FALSE);
Answers
Did you try currForm.updatecontrols? perhaps that solves it.
best regards,
Floris