How to catch exception on report preparation ?
Hello,
I have a problem : I don't know how to catch an exception during report preparation.
This code has no effect :
This is not important but I'm using Devart UniDAC fastReport component. In my case, an error is occurring while opening the Dataset. I have so far no option to catch this !
I have a problem : I don't know how to catch an exception during report preparation.
This code has no effect :
  try
    Result := frxReport1.PrepareReport();
  except
  on e: exception do
    Result := FALSE;
  end;
This is not important but I'm using Devart UniDAC fastReport component. In my case, an error is occurring while opening the Dataset. I have so far no option to catch this !
Comments
My problem is that report is still showing a dialogbox. Ins't there a property as "SiltentError" or "NoMessageOnError" ?