Perform -modify or erase a relationship Availableness 2007

Perform -modify or erase a relationship Availableness 2007

After you’ve composed a desk for each and every topic on your database, you should provide Work environment Supply 2007 towards the manner in which to bring that pointers back together again if needed. You do this by establishing well-known sphere for the tables which might be related, and also by determining dining table dating between the dining tables. Then you’re able to carry out concerns, variations, and you may profile one to monitor recommendations out of numerous tables immediately.

Perform a desk relationships

You possibly can make a table relationship throughout the Matchmaking windows, otherwise by pulling a field on to a great datasheet throughout the Career List pane. When you would a romance between tables, the average areas commonly necessary to have a similar labels, though it is usually the instance which they would. As an alternative, an average sphere should have a comparable studies type. If for example the top trick profession was an enthusiastic AutoNumber industry, although not, brand new foreign key occupation can also be a number field in the event the the fresh new FieldSize possessions from each other sphere is the same. Particularly, you can suits a keen AutoNumber occupation and you will several career when the the newest FieldSize possessions of each other industries is Much time Integer. Whenever one another preferred sphere are Count sphere, they need to have a similar FieldSize possessions mode.

Manage a dining table relationship utilizing the Relationships document case

  1. Click the Microsoft Place of work Option , and then click Unlock.
  2. In the open dialogue package, pick and you may open the databases.
  3. To the Database Equipment case, throughout the Inform you/Cover up class, mouse click Dating.
  4. For those who have not yet discussed one matchmaking, this new Let you know Dining table dialog package instantly seems. If this doesn’t come, to your Construction loss, from the Relationship classification, mouse click Tell you Dining table. The new Inform you Desk dialog field screens every tables and you may questions from the database. To see just tables, simply click Tables. Observe just question, mouse click Queries. Observe each other, simply click One another.
  5. Choose one or maybe more tables or questions and then click Include. After you’ve completed adding tables and you can inquiries to your Relationships file tab, click Intimate.
  6. Drag an area (typically the first secret) from one desk to your preferred occupation (this new overseas key) regarding most other dining table. To drag several industries, force this new CTRL secret, simply click for every single industry, then pull them. This new Modify Dating dialog box appears.
  7. Verify that industry brands revealed will be the prominent areas having the connection. When the an industry name’s incorrect, click on the occupation label and pick appropriate community off record. So you can enforce referential stability because of it matchmaking, discover Enforce Referential Integrity look at package.
  8. Mouse click Perform. Supply draws a relationship range among them tables. For those who chose brand new Impose Referential Stability have a look at package, new line appears heavy at each and every end. Concurrently, once again only if your chosen the brand new Demand Referential Integrity view box, the amount step one looks along side dense bit on one hand of the relationships line, and infinity icon (?) seems over the thick section towards the on the other side of your line, just like the found on following the shape.
  • To manufacture a-one-to-you to relationship Each of an average sphere (usually the top secret and you will international secret fields) have to have a different directory. Because of this the brand new Noted assets of these sphere might be set-to Yes (Zero Duplicates). If each other areas keeps an alternate directory, Availableness brings a one-to-you to definitely dating.
  • To help make a one-to-of many dating The field into one to side (usually the no. 1 secret) of relationship need to have a new directory. Consequently the fresh Indexed property for this profession might be set to Yes (Zero Duplicates). Industry toward of several side must not keeps a different sort of directory. It can provides a directory, however it need make it duplicates. This means that brand new Detailed property for this occupation can be set-to possibly No or Sure (Duplicates Ok). Whenever that field have a different index, additionally the other will not, Accessibility creates a-one-to-many relationships.

Trả lời

Email của bạn sẽ không được hiển thị công khai. Các trường bắt buộc được đánh dấu *