I know this is pretty basic, but it is annoying me. Whenever I bring up a certain form in my database, it seems to call up the database form. How can I get rid of this.
I'm not sure what you mean by this post. Do 2 forms open? Do you have any code in the "certain" form? Does it happen right away or after you enter or push something?
apologies for not being more specific. I mean that when I go into my switchboard form, which is the startup form, and then go into the main form, after I close the main form, the database window pops up.
my cut down version of the database does not fit. It is 900Kbytes. I removed everything out of the tables and removed most of the forms, but there it is. What i do basically want to do is hide the database window.
Do you have Compact on Close turned on? Tools>Options>General Tab You could also email me the db at Rural Guy at Wild Blue dot Net without the spaces if you can not get the file < 500KB
apologies for not being more specific. I mean that when I go into my switchboard form, which is the startup form, and then go into the main form, after I close the main form, the database window pops up.
You need to code which form you want opened when the user clicks your button to close the main form. You should hide the database window and also the standard tool bars and menu bars to prevent the user from ever seeing the database window. All of your forms should have a navigation button that they have to click to close each form and you need to code the buttons to open another form as they navigate through your db.
I discovered what it was eventually. I had maximized my form and on closing I had the following code put in to do what I thought was "restore" everything down to their original sizes. I took it out and the problem went away.