Programming Windoe size

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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!
 
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
 
Back
Top