If your code is calling the non-modal form and you want to display it as modal, you can display the form using:
myform.show vbModal
I don't know of any property that you can check to see if it is modal or not.
hth.
Rhonda
>I am trying to distribute an app but on 1st run,
>I get the following error:
>
>
RunTime Error - 401
>
>Can't show a non-modal form when a modal form is displayed
>
>This happens on the 1st run because I am using an .ini file to locate
>the MSAccess database. Once the user points to the databse, the path
>is written to the .ini file. The user must point to it upon initial
>startup or any time they move it to a new location. My question is how
>can I tell if a form is modal or not?
>
>TIA for any help