This is a codeunit for handling Dialogs generically.
Example of use in report:
1. OnPreReport:
SetDialogText
SetUpdateInterval/SetUpdateMilliseconds
OpenDialog
2. OnPreDataItem:
SetCounterTotal
3. OnAfterGetRecord:
UpdateCounter
4. OnPostReport:
CloseDialog/Clearall
As always there is room for improvement!
Future development could be include the use of Dialog.INPUT functionality.
Comments
Example of use in report:
1. OnPreReport:
SetDialogText
SetUpdateInterval/SetUpdateMilliseconds
OpenDialog
2. OnPreDataItem:
SetCounterTotal
3. OnAfterGetRecord:
UpdateCounter
4. OnPostReport:
CloseDialog/Clearall
As always there is room for improvement!
Future development could be include the use of Dialog.INPUT functionality.