Report Builder sends a SAM_ReportFinish message to a top-level window or MDI window that started the report. SAM_ReportFinish is sent when the report finishes. The application can use this message to do any sort of cleanup that is needed following the generation of a report. Message Variables hWndForm Unused. hWndItem Unused. wParam Window handle of the window that started the report. IParam TRUE, if the user has canceled printing the report. Example Form Window: frmMain ... Message Actions On SAM_ReportFinish Call SqlClose ( hSql )

Namespace: PPJ.Runtime
Assembly: PPJ.Runtime.2 (in PPJ.Runtime.2.dll) Version: 2.0.1044.0 (2.0.1044.5276)

Syntax

C#
public const int SAM_ReportFinish

See Also