How to use loops in Dexterity Macro
All related posts: Reference Page – GP/QTP Automation
Answer
According to the documentation, there are no loop operators defined in Microsoft Dynamics Great Plains Dexterity Macros.
However, the macro language provides other commands to workaround the issues in the most required cases.
Workarounds
1. Capture values of GUI fields (in a loop)
Use DumpFieldBegin…DumpFieldEnd commands.
2. Window synchronization
Use ActivateWindow command, repeated 5-10 times
3. GUI Control synchronization and triggering
Use MoveTo command, repeated a few times.
Move focus in or away to trigger event handlers.

