OnProgress

The OnProgress event returns a count of values that are being processed between the server and the client. This is used to inform the client that the server is still working on sending the client more data (i.e. rows of data received from a table versus the total count of rows the client should expect to receive).

Tip: If you want to display something that indicates the downloads are still working, use the Screen.Refresh command.

Group:   Events

Applies to:   Application Form Events

Syntax:  Sub Form_OnProgress(byVal CurrentCount As Long, ByVal MaxCount As Long)

Example:

The application requires the download of a large table (ie. list of items with hundreds or rows) from the server to the client. In the GetTable event the Form_OnProgress subroutine is called.

When the OnProgress event is triggered by the client, the client receives the count from the CurrentCount parameter, and the total expected from the MaxCount parameter.