OpenForm

  • Thread starter Thread starter Alan T
  • Start date Start date
A

Alan T

This is I am using to open a form:
DoCmd.OpenForm "frmEmployee", acNormal, , , acFormAdd, acWindowNormal

I noticed the form opened is wider than what at design time.
Can I open the form the same layout as at design time?
 
Open your form in design view. Click on the properties icon in the menu at
the top of the screen. In the dialog that opens, click on the Other tab.
Change the Pop Up property to Yes. Now open your form in form view. You can
grab the edges and drar the edge of the form to make the form whatever size
you want.

PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications
(e-mail address removed)
 
Thanks

Steve said:
Open your form in design view. Click on the properties icon in the menu at
the top of the screen. In the dialog that opens, click on the Other tab.
Change the Pop Up property to Yes. Now open your form in form view. You
can grab the edges and drar the edge of the form to make the form whatever
size you want.

PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications
(e-mail address removed)
 
Hi Alan,

when you are designing your form, you have to take into account the
extra things that show in the design view (like section bars and rulers)
-- so you need to make the form a tad bit narrower and shorter than what
you think the size should be -- save the form in design view and that
will be the size in form view -- go back and forth a little until you
get a feel for what it should be. Size the window so everything just
shows and then close up the space a little

Warm Regards,
Crystal
*
(: have an awesome day :)
*
MVP Access
Remote Programming and Training
strive4peace2006 at yahoo.com
*
 
I have to ask this, because I've seen it drive noobies carzy before! When in
Design View, you're not assuming that the width of the form is the width of
the pegboard looking area, are you? The width is actually going to be that of
the window holding the form. To get them to the same size, you need to move
your cursor to the right edge of the container window until it becomes a
double headed arrow, Left Click and hold, then move the border over to the
edge of the "pegboard."

--
There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000

Message posted via AccessMonster.com
 
good point!

Warm Regards,
Crystal
*
(: have an awesome day :)
*
MVP Access
Remote Programming and Training
strive4peace2006 at yahoo.com
*
 
Back
Top