Programming Windoe size

S

Steve

Hi,
I have a report that opens after clicking abutton on a form, but I would
like to be able to set the reports window size so that it is centered and big
enough to read. Is it possible to set the position of the report and also set
the size of it's window when it opens.
Any help most welcome

Steve
 
C

Carol Giannini

I too have this problem. DoCmd.MoveSize is supposed to work (you can look up
the parameters in Help), but when I set the width and height measurements,
the window actually shrinks instead of expanding to the size I set. I wish
someone would answer this and provide some clues!
 
J

John Spencer (MVP)

MoveSize parameters must be expressed in twips in visual basic.

Twip = Unit of measurement used by Microsoft Access that is equal to 1/20 of a
point, or 1/1440 of an inch. There are 567 twips in a centimeter.

DoCmd.MoveSize 1*1440,1*1440,2.5*1440,3.5*1440
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top