How to Create an Update Query in Microsoft Access



25
135449

In this tutorial, we will teach you how to create an update query in Access. Don't forget to check out our site http://howtech.tv/ for more free how-to videos! http://youtube.com/ithowtovids - our feed http://www.facebook.com/howtechtv - join us on facebook https://plus.google.com/103440382717658277879 - our group in Google+ To alter the existing values simply create an update query in Microsoft Access. This allows you to alter the math behind the values. You can make changes to your data in the table using the update query. In this tutorial, we will update the prices of all the products without opening the products table. Step 1 -- Go to the create tab To create an ms access update query, move to the create tab and then click on the query design button. Add the product tables and close the show table window. Step 2 -- Click the Update button From the products table, let's select the price field. Now click on the Update button from the query type group. You will notice a new update row will be added over here. In the update line, put in a square bracket and type in price. With that done, let's put another square bracket to close the keyword, followed by an asterisk sign for multiplication. After that, let's type in the percentage by which you want to increase the price. Over here we have multiplied the price by 1.2 indicating a 20% increase in the prices of all the products. Step 3 -- View the original list Now let's click on the view button and you will notice the present prices of all the products. Step 4 -- Select the run button To toggle back, click on the view button and now press the run button. A dialogue box will appear telling you that prices will be changed. Let's click on Yes to proceed and view the changes made through the ms Access update theory. Step 5 -- View the updated list To view the changed prices, open up the products table and you will notice that the prices are now 20% more than they were before. And that's it, by following these steps you can learn how to create an update query in Access.

Published by: Excel, Word and PowerPoint Tutorials from Howtech Published at: 10 years ago Category: چگونه