Sequence for report calculation: Difference between revisions

From OpenPetra Wiki
Jump to navigation Jump to search
(Created page with '== Sequence on the Client == What happens when the User clicks "Generate Report" *In the class TFrmPetraReportingUtils **ReadControlsWithErrorHandling **ReadControls ***In the Re…')
(No difference)

Revision as of 15:19, 8 October 2010

Sequence on the Client

What happens when the User clicks "Generate Report"

  • In the class TFrmPetraReportingUtils
    • ReadControlsWithErrorHandling
    • ReadControls
      • In the Reporting form class:
      • ReadControls

The ReadControls method reads the report settings and checks if they are valid. (Check for TVerificationResult)

  • In the class TrptCalculator
    • GenerateResultRemoteClient
      • The Server calculates and generates the report
      • AsyncProgressCheckThread checks if the sever has finished and enables for status bar updates. When the server calculated the result, get the results.
  • In the class TFrmPetraReportingUtils
    • PreviewReport (Displays the results of the report)

Sequence on the Server