Avoid load error
I have my report loaded by values (not from database), however, sometime users
Enters wrong values or empty values, then click view, the users gets not valid error message and
Gets error screen popup, he must close the program to get rid of that screen.
I tried
try
myreport.LoadFromFile( ???reportfile.rp3???);
except
myreport.Clear;
end;
Any idea on how to avoid this error.
Thanks
Enters wrong values or empty values, then click view, the users gets not valid error message and
Gets error screen popup, he must close the program to get rid of that screen.
I tried
try
myreport.LoadFromFile( ???reportfile.rp3???);
except
myreport.Clear;
end;
Any idea on how to avoid this error.
Thanks
Comments
myreport.Clear;
and leave the Except..End block empty?