Hi Aston,
It would be easier to assist you if you posted the all the code for the function ...
Al
>Dear all,
>
>I wrote a function to receive a Form name(in string format), and the coding in the function is : lcFormName.show, but there is a error message "Object is Required", I believe the VB doesn't recognize string type variable as a oject.
>
>Is there any other method to doing this.
>
>
>Please Help
>
>Thanks
>Aston
Al Williams
Anola MB, CANADA