Progress.SetStep

Progress.SetStep ( 

string ObjectName,

number Step )

Example 1

-- Set the step value to 10
Progress.SetStep("Status", 10);

-- Check to see if any errors occurred calling the Process.SetStep action.
-- If any error occurred, display the error message.
error = Application.GetLastError();
if (error ~= 0) then
   Dialog.Message("Error", _tblErrorMessages[error], MB_OK, MB_ICONEXCLAMATION, MB_DEFBUTTON1);
end

Sets the step of the "Status" progress meter to 10.

See also:  Related Actions