the following code can be placed in the Reports form's Open event:
With Forms![Main Switchboard]
Me.Move .WindowLeft, .WindowTop
End With
Replace "Main Switchboard" with the name of the main switchboard form.
Note: that code works in A2003. I don't know about earlier versions,
except that I'm pretty sure it doesn't work in Access 97 or before.
You can also try making the second form wider than the first, sometimes
that fixes the problem.
Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia
Darrell said:
Jeanette,
Thanks. I will employ that. However, I would still like to know why
this
happens since it will still result in a slight "jog" in the user's line
of
sight when they go back and forth. Besides, it's just nice to
understand
something. One simply feels more in control when behavior is
understood.
(Sorry for the delayed thanks. I was out of town for a long weekend, so
didn't re-check the post until today.)
:
Hi Darrell
I have noticed this too.
I usually hide the other form until it is needed, that way there is no
annoying 'double vision'.
Jeanette Cunningham MS Access MVP -- Melbourne Victoria Australia
I have a main switchboard (the startup object) and a reports
switchboard
which is opened from a command button on the main form. The two
forms
are
identically sized with all form-level properties identical (except
the
caption). But, when I open the report switchboard with the command
button,
it
opens slightly lower than the main switchboard. Does anyone have any
idea
why?
Thanks for any help ahead of time.