Hi Jan,
For the benefit of other MaxTalk members...Yes, there are easier ways to do what you want, but what's easily possible depends on your Maximizer release and whether you're using the Windows client or Web Access.
I'll email you and summarise, but what we can offer will be chargeable so this is not the right forum for that discussion.