Solved

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

Posted on 2007-12-07
3
804 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 250 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Describes a method of obtaining an object variable to an already running instance of Microsoft Access so that it can be controlled via automation.
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

728 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