>>>Hi Elyse;
>>>
>>>>I'm replacing the generic headers with my own header class.
>>>>
>>>
>>>Do it, no problem !! But dont forget if you add a hdr1 object and then rename it to header1 here is the error that you was looking for..
>>>
>>>
>>>CLAUDIO
>>
>>This is standard procedure and should not cause an error. I am fairly sure that the error is really being caused by something else.
>
>What if your header was not added by some reason (failed Header.Init, for example)? You can check type('this.Hdr1')='O' and not isnull(this.Hdr1) to be sure, it was created.
While I have no idea why this was a problem, the problem was that I couldn't pass more than 4 parameters to the form. It had nothing to do with the headers. So I collected the parameters into an object and passed the object and now all is well. This has to be the craziest bug I've encountered. Thanks to all who tried to help!
Elyse Pomerantz