J
JR_06062005
I need to maximize the size of the Access database window. I know how to
maximize a form and also pop-ups which will maximize to the screen size. But
a pop-up is not a good option for this particular case because I want the
user to be able to use a customized toolbar. In reading this group, someone
suggested the following code:
Dim objacc As AccessObject
objacc.RunCommand acCmdAppMaximize
When I try to run the code, I get the error message "Object variable or with
block not set". I think I'm supposed to set the objacc to some value, but
I'm not sure how to do works.
maximize a form and also pop-ups which will maximize to the screen size. But
a pop-up is not a good option for this particular case because I want the
user to be able to use a customized toolbar. In reading this group, someone
suggested the following code:
Dim objacc As AccessObject
objacc.RunCommand acCmdAppMaximize
When I try to run the code, I get the error message "Object variable or with
block not set". I think I'm supposed to set the objacc to some value, but
I'm not sure how to do works.