Solved! Go to Solution.
lblclass.expression = '"%s" & [type] & "%s"' % ("<BOL>", "</BOL>")lblclass.expression = '"%s" & [type] & "%s"' % ("<BOL>", "</BOL>")I believe you have to quote the tags and the interpreter doesn't understand two double quotes. Try this code.lblclass.expression = '"%s" & [type] & "%s"' % ("<BOL>", "</BOL>")