Perform -revise otherwise delete a relationship Supply 2007

Perform -revise otherwise delete a relationship Supply 2007

After you’ve authored a desk for every topic in your database, you ought to render Work environment Availableness 2007 on the manner in which to carry one to information back together again when needed. You do it by place prominent industries during the tables that will be associated, by defining dining table relationships between the dining tables. Then you’re able to perform inquiries, forms, and profile one screen pointers from several tables immediately.

Carry out a dining table matchmaking

You may make a dining table matchmaking regarding Dating screen, or by the hauling an area on to good datasheet in the Community Listing pane. After you create a relationship anywhere between dining tables, an average areas are not required to have the same brands, although it is often the instance which they would. Instead, the common industries need a similar studies types of. When your top trick job try an AutoNumber field, but not, the new overseas key occupation normally several industry in the event the the new FieldSize property off both fields is similar. Such as for instance, you might matches an AutoNumber job and a number occupation in the event that the brand new FieldSize property regarding each other sphere are A lot of time Integer. When one another common sphere is actually Count areas, they need to have the same FieldSize property setting.

Perform a dining table matchmaking utilizing the Dating document case

  1. Click the Microsoft Workplace Button , and then click Discover.
  2. In the great outdoors dialogue package, get a hold of and unlock the brand new database.
  3. To your Databases Devices tab, in the Let you know/Mask class, mouse click Relationship.
  4. When you have not even discussed any matchmaking, this new Tell you Desk dialog container instantly looks. If this cannot arrive, with the Framework loss, on Relationships classification, simply click Tell you Table. The newest Inform you Desk dialogue container displays most of the dining tables and you may concerns regarding the database. To see merely tables, click Dining tables. To see simply issues, simply click Issues. To see one another, simply click One another.
  5. Select one or even more dining tables otherwise requests and then click Include. Once you have completed including tables and you will question with the Relationship document case, simply click Close.
  6. Drag a field (typically the first secret) from 1 desk on the common industry (the newest foreign key) throughout the almost every other dining table. To help you pull several fields, drive the latest CTRL key, click for every single profession, then pull him or her. The fresh new Change Dating dialogue box appears.
  7. Check if industry labels shown will be the popular sphere for the connection. In the event that a field name’s incorrect, click the industry title and choose the right career of record. So you can impose referential stability for this relationships, discover the Impose Referential Ethics evaluate box.
  8. Mouse click Do. Accessibility draws a love range between the two dining tables. For folks who selected the brand new Enforce Referential Integrity have a look at container, this new range appears more substantial at every prevent. Simultaneously, once again as long as you selected the newest Enforce Referential Integrity check container, the amount 1 seems over the dense piece on one side of one’s relationship line, additionally the infinity icon (?) looks over the heavy piece on the on the other side of your range, as shown in the after the profile.
  • To help make a-one-to-you to definitely dating Both of the typical fields (typically the no. 1 secret and foreign trick areas) need to have a unique index. Thus the latest Listed property of these industries are set to Yes (No Copies). In the event that one another sphere have a special index, Availability creates a single-to-you to definitely matchmaking.
  • To manufacture a single-to-of numerous dating The field with the that side (often the primary key) of your own dating must have a different directory. As a result brand new Indexed possessions for it job would be set to Yes (No Copies). Industry towards of a lot front should not keeps a new list. It can have a list, it have to enable it to be duplicates. This means that the Indexed assets for it field can be set to either No otherwise Yes (Duplicates Okay). Whenever one field possess another index, together with almost every other doesn’t, Access brings a-one-to-of many relationship.

پاسخ دهید