Save the form as a class and use CreateObject to instantiate it. That will get rid of the error.
>Thanks, that's exactly what I needed !!!
>
>However (LOL !!), I do get an error whenever I run the form with the olecontrol on it:
>
>Ole error code 0*80004005 : Unspecified error
>
>I guess it's something to do with a value not being set properly, any ideas !?!?
>
>Kind regards
>
>Derek