Giao trinh Microsoft Eccess 2007[bookbooming.com]

Page 116

The Design tab of the Ribbon provides various tools to assist you with creating and managing the relationships. Các tab Thiết kế của Ribbon cung cấp các công cụ khác nhau để giúp quý vị tạo và quản lý các mối quan hệ. For example, if the Show Table dialog box has been closed and if you want to show it: Ví dụ, nếu hiển thị hộp thoại Bảng đã được đóng lại và nếu bạn muốn hiển thị nó: • •

You can click the Show Table button on the Ribbon Bạn có thể bấm vào nút Show Table trên Ribbon You can right-click the body of the Relationships window and click Show Table... Bạn có thể nhấp chuột phải vào cơ thể của cửa sổ Mối quan hệ và nhấp vào Hiển thị Bảng ...

You can create a relationship only between two tables that are present on the Relationships window. Bạn có thể tạo một mối quan hệ duy nhất giữa hai bảng được trình bày trên cửa sổ Các mối quan hệ. This means that even if a table is part of your database and you want to link it to another table (of your database), if the table has not been added to the Relationships window, you cannot create or manage its relationship to another table. Điều này có nghĩa rằng ngay cả khi bảng là một phần của cơ sở dữ liệu của bạn và bạn muốn liên kết nó với một bảng (trong cơ sở dữ liệu của bạn), nếu bảng đã không được thêm vào cửa sổ Quan hệ, bạn không thể tạo hoặc quản lý mối quan hệ của mình để bàn khác. Of course, there are other ways you can create relationships without using the Relationships window but the Relationships window gives you detailed means of creating and managing relationships. Tất nhiên, có những cách khác bạn có thể tạo mối quan hệ mà không sử dụng cửa sổ các mối quan hệ nhưng cửa sổ mối quan hệ mang lại cho bạn có nghĩa là chi tiết về tạo và quản lý mối quan hệ. To establish a relationship that does not yet exist between two tables, you can drag the primary key from the parent table to the foreign key of the desired table. Để thiết lập một mối quan hệ đó chưa tồn tại giữa hai bảng, bạn có thể kéo khóa chính từ bảng phụ huynh đến khoá ngoại của bảng mong muốn. If you drag and drop accurately, the relationship would be acknowledged and you can just click Create to make it formal. Nếu bạn kéo và thả một cách chính xác, mối quan hệ này sẽ được công nhận và bạn có thể chỉ cần nhấp vào Tạo để làm cho nó chính thức. If you dropped the primary key on the wrong field, you would have time to select the appropriate fields in the Edit Relationship dialog box. Nếu bạn bỏ khoá chính trên các lĩnh vực sai, bạn sẽ có thời gian để chọn các trường thích hợp trong hộp thoại Edit Mối quan hệ. After working with the Relationships window, you can close it by clicking its Close button Sau khi làm việc với các cửa sổ Quan hệ, bạn có thể đóng nó bằng cách nhấp vào nút Close của

nó . . You would be asked to save it in order to keep the relationship(s) created. Bạn sẽ được yêu cầu để lưu nó để giữ mối quan hệ (s) tạo ra. 116


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.