Create a type with an effective subform (a single-to-of several function)

30 Tháng Sáu, 2022

Create a type with an effective subform (a single-to-of several function)

When you find yourself working with relational data (related data that’s stored in independent tables), your will need certainly to evaluate several tables otherwise queries towards the same form. Particularly, you may want to come across customer data from table and details about customers instructions regarding another table at the same time. Subforms was a handy unit for this, and you can Availableness provides numerous an easy way to help you make subforms rapidly.

Learn about subforms

A beneficial subform is actually an application that’s registered in another means. The key function is known as area of the mode, while the means that’s enclosed fit is named the brand new subform. An application/subform integration might be called an excellent hierarchical form, a king/detail mode, otherwise a dad/kid function.

Subforms are specifically active when you wish to exhibit data off dining tables or questions with a one-to-of several matchmaking. A-one-to-of many dating try a link between several tables where in fact the primary trick property value each number in the primary table matches towards the worth throughout the matching occupation or areas of a lot suggestions about relevant dining table. Eg, you may make a type that presents staff data, and contains a good subform that displays for every single employee’s instructions. The details in the Teams desk ‘s the “one” region of the matchmaking. The data regarding Orders dining table is the “many” side of the relationships – per worker may have multiple buy.

Part of the setting and subform within this type of setting is connected so that the subform screens just info that are related to the current list however form. Such as for example, in the event the fundamental mode displays Nancy Freehafer’s suggestions, the latest subform screens simply this lady purchases. Whether your form and you may subform have been unlinked, the subform carry out screen most of the commands, besides Nancy’s.

What exactly do you want to do?

The second desk represent some of the terms and conditions that is associated with subforms. Accessibility commonly manage most of the information when you use brand new measures on this page, however it is beneficial to know very well what is occurring trailing the fresh new views if you wish to make modifications later on.

The fresh new manage you to definitely embeds a form to the a type. You could think of the subform control just like the a good “view” of some other target on your database, should it be another mode, a dining table, or an inquiry. The subform manage brings features that allow that hook up the latest research showed about manage to the data into the chief form.

A simple monitor of data in rows and you will columns, much like a good spreadsheet. The brand new subform handle screens a datasheet when the resource target is actually a desk otherwise ask, otherwise when the origin target try a type whose Standard See house is set-to Datasheet. In such cases, the latest subform is normally also known as a beneficial datasheet or subdatasheet unlike while the a beneficial subform.

The property of your own subform manage you to specifies hence profession or sphere throughout the subform link the fresh new subform to the fundamental setting.

The house or property of your own subform manage that specifies which career otherwise areas on head form link a portion of the form toward subform.

To have the greatest results, introduce dining table relationship in advance of after the tips on this page. This permits Accessibility automatically produce the website links anywhere between subforms and head versions. To view, add, or modify dating amongst the dining tables on your database, to your Database Systems case, from the Reveal/Cover-up class, simply click Dating.

Whenever a beneficial subform manage enjoys a questionnaire as its supply object, it has new industries which you put on the design, also it can be viewed since one setting, proceeded function, or datasheet. You to definitely benefit of basing a beneficial subform to the an application target are you could put determined sphere does married secrets work toward subform, such as for example [Quantity] * [Device speed].

  • Bạn đã yêu thích bài viết này!
  • Bạn đã copy link bài viết này!
Số điện thoại: 02633 666 777 Messenger LADO TAXI Zalo: 02633 666 777