>Stephen,
>
>I use exactly the same name:
>
>do form frmSearchForm
>
>I even renamed the scx to match the name. It has someting to whith being the mainform. When I run the form bij using Projectmanager->Documents->Run the form gives a bunch of errors but the frmSearchFrom.Refresh() works just fine.
>When I use the same frmSearchFrom.Refresh()by executing the frmSearchForm from an other form the error occurs.
>
>Theo
in your Load or Init event of your search form put:
public frmSearchForm
frmSearchForm = this
just make sure that on your Unload event:
release frmSearchForm
it's a quick and easy way to get around that.
"D'OH!" --Homer Simpson