Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / New Users / July 2006

Tip: Looking for answers? Try searching our database.

When should I opt to use a subform?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
andreainpanama - 05 Jul 2006 22:55 GMT
What are they really for?

Why not use one long form with different sections?

What is the advantage of using a sub form?
Rick Brandt - 05 Jul 2006 23:02 GMT
> What are they really for?
>
> Why not use one long form with different sections?
>
> What is the advantage of using a sub form?

For entering data that is "related" to the data in the main form.  Usually
with a one-to-many relationship.  Subforms are not about controlling form
real estate (that is what TabControls are for).

Example is a sales order form.  One Order (Main form) with many possible
LineItems ordered (subform).  The form/subform construct automatically
displays the LineItems in the subform that relate to the order number in the
main form and also automatically populate the linking field(s) data in the
subform when new line items are entered.

Signature

Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt   at   Hunter   dot   com

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.