I'm working on the title of ask and answer presentations. It will show 'CAsba', at the begining of the line, and the business name at the end of the line.
To do this I have two fields, identical properties except length and text left on one and text right on the other.
The code:
Code: Select all
on mouseup
put "CAsba" into field compnamex3 of cd "business departments"
if there is group "compnamex15" of cd "business departments" then
ungroup group "compnamex15"
end if
group field "compnamex3" of cd "business departments" and field "compnamex4" of cd "business departments"
set the name of it to "compnamex15" of cd "business departments"
put group "compnamex15" of cd "business departments" into field "fieldboxtitle" of cd template1
end mouseup
I get the error message at the 5th line. Beats me..