You could always define a form class in code and create it on the fly, which is no problem unless the lookup form is complex.
Mark
>If your making a class, and one of the buttons in the class calls up a look-up form, is there some way of bundling the form in? I know I could just include the form in the zip file with the class, but I'm wondering if there's some way of making it all self contained? Same for bitmaps, too. I've got pictures on a couple of the buttons.
>
>Thanks,
>
>-Michelle
"It hit an iceberg and it sank. Get over it."
Robert Ballard, dicoverer of the Titanic wreckage.