Thanks for pointing that out Graham.

The code has those TEST_CHOICE set elsewhere (and E_REQ & E_DESC), I have had a watch during execution on those VARs and they do set to what they are supposed to.
As I mentioned, the core programming works, but only when the template is held on my local drive, as soon as I try to use a network path it doesn't.