I have the following code connected to a button to open two forms side by side. If I open the database by holding shift to get to the back end this works fine and does what it is expected to do. If I open the database where the back end is hidden it just opens both forms, one behind the other. Any thoughts on how I can get both windows to open when I open the database normally? I have "enable layout view", "enable design changes...", "display status bar" un checked. I am using SimpleFile ribbon to hide all of the options from the users. Any help is greatly appreciated.
Dim bottom, right As Integer
bottom = 12700
right = 10000
Thansk for the suggestion! I tried the me.move exactly as suggested and it didn't work. I got the Invalid use of Move method error. I then tried deleting one line since it seemed like it was calling the same thing twice to move it to different spots. I got the same error. I then tried
Me.Move Left:=0, Top:=0, Width:=400, Height:=300
and got the same error. The wierd thing is that the code that I entered originally works just not when I enter the database without using shift. I can't get the me.move stuff to work at all and yes I did put it in the form on open event. I then tried the below code in the on open event and it works if I open the database with shift, but not if I enter normally.
Thanks for the suggestion Sinndho! I tried the code as you posted it and it gave me an error saying improper use of Move. I then tried it with only one line of code and it gave the same error. I then tried it with the line
me.Move Left:=0, Top:=0, Width:=400, Height:=30
and it still didn't work. I was putting all of these iterations in the form on open action. I tried putting my original code without the open portion in the on open action and it worked like before, but only if I open the database while holding shift. Is there some setting that makes it always go fullscreen when opening a database without the back end visible? I have autosize and autocenter set to no.