RE: doClick and Corrupt Data Exception

There is a constant risk with using the doClick stuff the way you do.
The identifier used in the parameter is valid as long as you dont change anything in the form.
But the minute you do, that id might be corrupt.

Although there are other ways to do this, you can work around the doClick-problem this way:
1. Create another form and put your button at the very top as the one and only thing in the form.
2. Preview the form in a browser and steal the doClick-stuff.
3. Copy that doClick to your current form.

Sound funny doesn’t it?
Why would the button code work, when it’s from another form?
But – it does 🙂

Let me know how it goes.