?
Solved

Open an Access sub form and "anchor" it physically to one field for appearance

Posted on 2007-12-07
3
Medium Priority
?
805 Views
Last Modified: 2013-11-28
How can I open an Access subform from its parent form and have the subform open as a small box that is anchored to one field of the main form?
Thanks
0
Comment
Question by:ksilvoso
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 77

Accepted Solution

by:
peter57r earned 1000 total points
ID: 20426994
You can set a form's size and position using the Docmd.Movesize command in the form open event procedure (see Help for the parameter settings).
What you are describing would not generally be thought of as a subform, just as another form.


0
 
LVL 27

Expert Comment

by:MikeToole
ID: 20427008
Have the main form control the subform's visibility.
Move the subform to the mainform control's position just before you make it visible by adjusting the Top, Left properties of the subform control
0
 
LVL 85
ID: 20427139
Note also that you'd need to do this in the Resize event of your form, using the methods described by Peter or Mike.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes a method of delivering Word templates for use in merging Access data to Word documents, that requires no computer knowledge on the part of the recipient -- the templates are saved in table fields, and are extracted and install…
This article shows how to get a list of available printers for display in a drop-down list, and then to use the selected printer to print an Access report or a Word document filled with Access data, using different syntax as needed for working with …
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question