Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

update query

ResolvedVersion 2007

James has attended:
Access Intermediate course

Update Query

Afternoon,

I have a master table called Master Revenue sheet which breaks down all orders and charges by client.

Recently a client changed their name from "Adstream TV" to "Adstream" and I want to go in and change all previous entries of "Adstream TV" to "Adstream" in order to group them all together moving forward yet have forogtten how to do this. Can you please advise how to please

Thanks

James

RE: Update Query

Hi James

Thank you for your question

You need to create an update query to accomplish this.

Create a basic select query in the normal way that includes the field that you need to update. On the design ribbon select update query from the query type group. In the design table enter Adstream in the update to row and adstreamtv in the criteria row.


If the table you are updating is also linked to other tables and you have enabled referential integrity, you will also need to allow cascade updates. To do this open the relationships window, double click on the link and select the appropriate check box

I would also strongly advise that you back up the database before running this procedure

Regards

Stephen

Access tip:

Creating Parameter wildcard queries

To creat a parameter query that also uses a wildcard, in the query design type in like []+*.

View all Access hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.13 secs.