Y et ultimately features a few tables having a relationship

Y et ultimately features a few tables having a relationship

Access will recognize matching fields between tables occasionally. Various other issues you are going to need to tell you Access what fields to suit and what kind of dating it is: One-to-Of many, Of many-to-Of numerous, or You to-to-You to definitely.

Relationship Screen

Availableness brings an alternative screen to possess watching relationship. No tables are provided instantly. You need to get a hold of those that we should come across.

Signup traces hook up this new complimentary areas between tables. A column that have a-1 from the one to stop and the infinity symbol at the other implies a one-to-Of a lot relationship wherein Availability will demand referential integrity . This means that Availableness will guarantee you don’t delete facts that will be described from the ideas an additional dining table.

Dating Toolbar

The brand new Dating window has its own toolbar, which have about three the buttons: Show Desk = reveals a dialog where you could come across and this tables and questions showing about Relationships screen. Inform you Head Dating = Reveals new relationships which were discussed for the selected desk. Inform you Every Relationships = Suggests the relationships that happen to be laid out throughout the database.

Step-by-Step: Dating

to access a relationship ranging from two tables so you can erase a romance to make a relationship between one or two tables so you’re able to print relationships to view an effective subdatasheet to see referential stability in action

Check Matchmaking

You will find an alternate screen to own enjoying Relationships. In the last tutorial, the fresh Look Genius told you they must do a love. Let’s glance at you to definitely relationships.

  1. On the menu discover Systems | Dating. The brand new Relationships windows opens. It could be empty or it might show current relationships produced by brand new Lookup Genius. or if perhaps new screen was empty, you could tell Availableness and that tables to show regarding Matchmaking window. Having behavior, let us dating site Dating In Your 30s singles only look at how to come up with a relationship.
  2. Whether your window is not blank,click on for each table on the Matchmaking screen and push the latest Remove trick. After you erase a table on Matchmaking screen, that you don’t remove new dining table in itself. You do not delete one relationship often. You have got changed simply what is found on the windows.
  3. Click the Inform you Dining table option towards the Relationships toolbar. A dialog seems from which you might like dining tables and you may questions to set up the latest Dating windows.
  4. Discover the table Travel companies and then click the Add key. The connection screen now reveals a listing of all fields from the dining table. If necessary, drag the new Show Table dialog to the right position where you can see the checklist regarding Matchmaking screen.
  5. Find the dining table Vacation regarding the Tell you Dining tables dialog and click this new Put option. If Trips table seems on the Relationship window, a column appears that connects the two tables.

The field AgentID out-of Travel agents are linked to the field AgentID inside the Vacation. This is actually the relationships that the Search Genius created! Because the dining tables was exhibited, Supply already realized in regards to the relationship.

Delete a romance

Why would we wish to delete a love? If you want to make modifications on the dining table construction, Access may not enable you to because there is a relationship to other desk. Obviously, just be careful your dating will continue to work after you build your changes!

  1. Regarding Relationship windows, click the range hooking up the two dining tables. The range gets thicker.
  2. Push new Remove key otherwise click the Erase button to the toolbar. A message container looks inquiring when you are yes.
  3. ClickYes. The fresh range disappears but the tables continue to be exhibited.

Perform a relationship By hand

Drag the field AgentsID about Travel companies desk and you may drop it into AgentsID profession from the Trips table. (Be careful to decrease with the correct job!)

  • Alternatives step 1 will show merely representatives that have trips and you may trips with representatives. There should be a complement regarding the most other dining table!

Printing Relationships

New Print switch to your Relationships toolbar are grayed away. Unexpectedly, brand new File selection does have a demand getting print which windows, Print Relationships.

Click on the Document menu to open up they and choose Print Dating. So it order cannot tell you unless the brand new Matchmaking window try active. Access creates a claim that show the newest tables and you may joins you to definitely have this new Dating screen.

View/Modify Subdatasheet

A desk which is when you look at the a one-to-Of numerous otherwise One to-to-One dating has a different sort of feature. Per record into “One” front possess an effective subdatasheet that presents this new related details regarding almost every other desk.

Just how to discover or cover-up every subdatasheets at a time: Format | Subdatasheets Options are Develop All, Collapse All of the, Dump. The Subdatasheet items will never be readily available if for example the attention is actually inside the good subdatasheet.

Deixe uma resposta

O seu endereço de email não será publicado.