Good to hear Peter
I’m still not sure it the variable settings are ignored or not, but if I do these as a series of statements in the same statement handler there are no errors.

Hope a proper answer from daw is forthcoming soon.