Logo
programming4us
programming4us
programming4us
programming4us
Home
programming4us
XP
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server
programming4us
Windows Phone
 
programming4us
Windows 7

Microsoft Access 2010 : Creating Queries - Writing Query Results to a New Table, Creating an Update Query

- Free product key for windows 10
- Free Product Key for Microsoft office 365
- Malwarebytes Premium 3.7.1 Serial Keys (LifeTime) 2019
7/16/2012 3:53:24 PM

1. Writing Query Results to a New Table

When you run a query, Access writes the records the query finds into a dynaset, or dynamic record set. While Access remembers the results of queries you run, the results aren’t actually written to a table, limiting what you can do with the data. You can, however, modify a select query so the results are written to a new table.

1.1. Create a Make-Table Query

  1. Open a query in Design view.

  2. Click Make Table.

  3. Type a name for the new table.

  4. Click OK.

  5. Click Run.

  6. Click Yes to create a new table that contains the selected records.


Note:

You can write the results of your query to a table in another database by selecting the Another Database option in the Make Table dialog box, clicking the Browse button, and using the file navigation dialog box to identify the database to receive the table.

2. Creating an Update Query

One exciting aspect of business is how quickly things change—of course, it can be difficult to keep track of all those changes! One useful task you can perform with an update query is to modify values in a table to reflect changes in your business environment. For example, if a supplier increases prices by 5 percent, you can create an update query that moves through your Products table and updates the records for that supplier’s products.

2.1. Update Table Values with a Query

  1. Open a query in Design view.

  2. Click Update.

  3. In the Criteria cell of the column you’ll use to select the records to update, type the expression used to select which values should be updated.

  4. In the Update To cell of the column that contains the value to be updated, type the expression used to update the values.

  5. Click Run.


Other -----------------
- Microsoft Excel 2010 : Defining Multiple Alternative Data Sets
- Microsoft Excel 2010 : Defining an Alternative Data Set
- Tools for Troubleshooting (part 9) - TCPView, Telnet Client
- Tools for Troubleshooting (part 8) - Route & Task Manager
- Tools for Troubleshooting (part 7) - Resource Monitor, Ping & PortQry
- Tools for Troubleshooting (part 6) - Performance Monitor & Data Collector Sets
- Tools for Troubleshooting (part 5) - PathPing
- Tools for Troubleshooting (part 4) - Nslookup
- Tools for Troubleshooting (part 3) - Netstat & Network Monitor
- Tools for Troubleshooting (part 2) - Nblookup, Nbtstat
 
 
Top 10
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 2) - Wireframes,Legends
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Finding containers and lists in Visio (part 1) - Swimlanes
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Formatting and sizing lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Adding shapes to lists
- Microsoft Visio 2013 : Adding Structure to Your Diagrams - Sizing containers
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 3) - The Other Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 2) - The Data Properties of a Control
- Microsoft Access 2010 : Control Properties and Why to Use Them (part 1) - The Format Properties of a Control
- Microsoft Access 2010 : Form Properties and Why Should You Use Them - Working with the Properties Window
- Microsoft Visio 2013 : Using the Organization Chart Wizard with new data
 
programming4us
Windows Vista
programming4us
Windows 7
programming4us
Windows Azure
programming4us
Windows Server