>>-Paul
>
>I would still try to inittiate the object differently:
>oApp.oReport= CreateObject("ShopReport59")
>and use it subsequently. Could you try it?
I tried a bunch of different variations, but still wasn't able to get it to work. I'm sure you're right about the object reference, but I wasn't having much luck. I moved the routine into a common procedures file, and dropped the oReport reference. Works perfectly now. The routine really belongs in my report class, but if it's not going to behave there, I'm willing to live with it moved.