Results 1 to 4 of 4

Thread: Fit to Page??

  1. #1
    Join Date
    Apr 2004
    Posts
    85

    Unanswered: Fit to Page??

    Guess what another Question from Newbie Booby

    when i open the database form pops up

    but how do i configure it so that it fits to page



    At this rate i'll be a expert

  2. #2
    Join Date
    Apr 2004
    Location
    outside the rim
    Posts
    1,011
    I'm sure there is probably other ways, but here's a quick and dirty:

    Create a form called "OpenMax"
    Add an Event Procedure to the OnOpen event with the following code:

    DoCmd.Maximize
    DoCmd.Close

    Save the form, then add the form to the "Startup Properties" (Tools, Startup, Display Form" in the menu of the main db window)

    Have fun

  3. #3
    Join Date
    Oct 2003
    Location
    Ger
    Posts
    1,969
    Provided Answers: 1
    Also you can use the command

    DoCmd.MoveSize 1000, 1000, 1000, 1000
    where the 4 arguments are right, down, width and height of your form

  4. #4
    Join Date
    Oct 2003
    Location
    Ger
    Posts
    1,969
    Provided Answers: 1

    Lightbulb

    Quote Originally Posted by hammbakka
    Also you can use the command

    DoCmd.MoveSize 1000, 1000, 1000, 1000
    where the 4 arguments are right, down, width and height of your form
    Use this command after the DoCmd.OpenForm

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •