Greetings, I tried the following but still no luck. self.tester.AppendText("Code returned is:" field1) The error is still invalid syntax. I think I am missing something to prefix "field1" but do not know what. Regards Richard