How to determine that report was builded succesfully?

Question: How to determine that report was builded succesfully?

Answer:

1
2
if frReport1.PrepareReport then // successfull, show it
frReport1.ShowPreparedReport