Solved

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

Posted on 2007-12-07
3
795 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
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 84
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In a multiple monitor setup, if you don't want to use AutoCenter to position your popup forms, you have a problem: where will they appear?  Sometimes you may have an additional problem: where the devil did they go?  If you last had a popup form open…
Overview: This article:       (a) explains one principle method to cross-reference invoice items in Quickbooks®       (b) explores the reasons one might need to cross-reference invoice items       (c) provides a sample process for creating a M…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…

864 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now