Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 878857
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T11:49:56+00:00 2026-05-15T11:49:56+00:00

I am creating a database application using Access 2003 that will be run as

  • 0

I am creating a database application using Access 2003 that will be run as a stand-alone application (i.e. using the Access runtime). I have a main form that opens to a pre-defined location and size and I would like to control where any other forms open.

I would like to open additional forms at the same location and size as the main form. I could use the “autocenter” property but I would like the user to be able to move the form wherever they like and have the new form appear at that location. Only one form will be open at any one time since I close the previous form when opening a new form.

Any suggestions on how to accomplish this with VBA? Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T11:49:57+00:00Added an answer on May 15, 2026 at 11:49 am

    You can read form property values to determine the first form’s position and size.

    Debug.Print Me.WindowLeft, Me.WindowTop, Me.WindowWidth, Me.WindowHeight
    

    The next form can match those values with the Move method.

    Me.Move Left:=0, Top:=0, Width:=400, Height:=300
    

    You would have to decide on a method to pass the values from the first to the second form.

    1. as properties of a custom class
    2. as OpenArgs for the second form
    3. use a table to store the values
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Access 2003 database that will dynamically load MDB databases as a
I m creating a window application using MS-Access as my database since data volume
I am creating a WPF application that will integrate with an existing system using
I'm creating a Java EE application that's using JPA for data access. Initially I
I'm creating a database application using ASP.NET and I want to make a Windows
I'm creating an Database for my Application that I am creating however whenever I
I am creating a web application that is accessing a SQLite database in the
In considering languages to use in creating a web-application that interfaces with a database
I have a web application that accesses a database through a wcf service. The
I am new in creating application using Visual Studio 2010 and Microsoft Access 2007.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.