TAILIEUCHUNG - Actions Query

Action queries are a way to make corrections to database. They can make an enormous mess of database if used incorrectly. Action queries differ from select queries: A select query shows you data that meet your criteria. An action query looks for the data that meets your criteria, and then does something with it, such as making changes to the data or moving records to a new table. | Actions Queries Understanding Action Queries Action queries are a way to make corrections to database. They can make an enormous mess of database if used incorrectly. Action queries differ from select queries: A select query shows you data that meet your criteria. An action query looks for the data that meets your criteria, and then does something with it, such as making changes to the data or moving records to a new table. Testing Action Queries (Carefully) Most importantly, before you use an action query, make a database backup! because it may not always generate the result you expect (mong đợi). To make a backup, you can copy your .accdb database file or File➝Save & Publish to enter Backstage view, look in the Advanced section of the Save Database As list Back Up Database. The Action Query Family An update query changes the values in one or more records. An append query selects one or more records, and then adds them to an existing table. A make-table query selects one or more records, and then creates a new table for them. A delete query deletes one or more records. Update Queries An update query searches for some records and then modifies them. Using the update query when you work on lots of data or when you want to update multiple fields. Update query makes to change multiple records at same time. Update Queries To Create a Update Query: Select Create tab Queries Query Design. Add each table you want to include in query by selecting it and then clicking Add. Change query to an update query by choosing Query Tools Design Query Type Update. Add the field you want to use for filtering, and then set the Criteria box for each one. Update Queries Add the field you want to change. In the Update To box, supply the new value that your query will apply to each field. Update Queries Add any other fields that you want to inspect to confirm that you’re selecting the correct records. Right-click the query’s tab title, and choose Datasheet View to see the rows .

Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.