• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 13. Advanced Form Design > Working with the Tab Control

Working with the Tab Control

As you have just seen, a subform is an excellent way to create a form that lets you edit information from the one side of a relationship in the main form (contacts) while editing or viewing data from the many side of a relationship (contact events or contact products) in the subform window. Building a subform is very simple for a single one-to-many relationship. But what can you do when you have either multiple relationships or lots of data you need to deal with on a form and including all this information makes your form too large to fit on your screen? Access provides a tab control that lets you place multiple controls on individual tabs within a form. The controls on a tab can be as complex as subforms (in the case of the LawTrack Contacts database, to display related companies, events, and products) or as simple as text boxes (which can display the potentially lengthy information in the Notes field). You can see the frmContactsPlain form (the simple copy of the form that doesn’t have all the bells and whistles of the production form) with the tab that shows contact events selected in Figure 13-32. You can click on the other available tabs to see the detail information for the contact—the companies associated with the contact (in a subform on that tab), and the products the contact has purchased (in another subform).

Figure 13-32. A form to edit contact events using the tab control.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint