After much running around in circles I have decided that I am attempting to write to controls (datagrid) that are out of scope and because of their complexity datagrids do not fail in the same way that simple controls do.
The code snip below fails to write to a datagrid that is on card 2 of the stack and is not displayed as card 1 is being displayed when the script is run.
Am I correct in thinking that a handler in the stack will default to searching the current card or do they just default to card 1 of stack. i.e. if I write the short code :
Code: Select all
set the dgText[false] of grp "DgDuplicates" to sTestData
best wishes
Simon K