Form Location on Opening

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

Guest

Is there a way to tell Access, when opening a form, to place it in a specific
location? I have a form which can open two other forms. Now one of them
opens to the right of and about two-thirds of the way down - the other loads
to the right of about two-thirds of the way above the calling form. I would
like them to appear on top of the calling form.

I can't find any reference to positioning of forms.

Thanks, John H W
 
See MoveSize method of DoCmd in VB help.

expression.MoveSize(Right, Down, Width, Height)

Example:

DoCmd.MoveSize 1000, 1440
 
Is there a way to tell Access, when opening a form, to place it in a specific
location? I have a form which can open two other forms. Now one of them
opens to the right of and about two-thirds of the way down - the other loads
to the right of about two-thirds of the way above the calling form. I would
like them to appear on top of the calling form.

I can't find any reference to positioning of forms.

Thanks, John H W

Look up the MoveSize method in VBA help.
Be aware that measurements are in Twips, 1440 per inch.
 
Back
Top