Multi-Table Update Query in MS Access

  Рет қаралды 13,636

Sean MacKenzie Data Engineering

Sean MacKenzie Data Engineering

3 жыл бұрын

Multi-Table Update Query in MS Access
In this episode, we’ll look at how to update one table with values from another table in Microsoft Access. We’ll show a basic single-table update first, on a single column, then move to a more complex example using two tables, with one table being updated from the other. Update queries are one of the main types of queries in MS Access, so if you learn this skill, you’ll have one more great tool in your toolbox!
Related Videos:
How to Make an Inner Join and Left Join in Microsoft Access and Learn How to Compare Lists
• How to Make an Inner J...
How to Make a Query by Joining Tables and Making a Calculated Column in Microsoft Access
• How to Make a Query by...
How to Use an Append Query in MS Access: mdb to accdb
• How to Use an Append Q...
Multi-Table Update Query in MS Access
You are watching this video now!
How Use Delete Queries in MS Access'
• How Use Delete Queries...
How to use In.. Not In.. to include or exclude multiple values in Microsoft Access
• How to use In.. Not In...
How to Use Wildcards in MS Access Queries
• How to Use Wildcards i...
How to Use Double and Single Quotes in MS Access Queries
• How to Use Double and ...
Follow me on social media:
/ mackenziedataanalytics
/ seamacke
/ seamacke
/ seamacke
/ psmackenzie
Get Microsoft Office including Access:
click.linksynergy.com/fs-bin/...
Got a KZbin Channel? I use TubeBuddy, it is awesome. Give it a try:
www.tubebuddy.com/seanmackenz...
Want to work with me 1:1? Contact me today and book your free 20 min consultation!
Contact form you can find at www.mackenziemackenzie.com/
access update query, access update one table from another, ms access sql, access single table update, access multi table update, Sean Mackenzie Data Analytics and Data Engineering
#MultiTableQueryMSAccess #UpdateQueryMSAccess
• Multi-Table Update Que...

Пікірлер: 16
@siphomaleka4681
@siphomaleka4681 9 ай бұрын
Exactly what I was looking for.
@seanmackenziedataengineering
@seanmackenziedataengineering 9 ай бұрын
Awesome! Glad to hear
@BinarKing1
@BinarKing1 Жыл бұрын
so usefulllllll,thank u.keep going
@seanmackenziedataengineering
@seanmackenziedataengineering Жыл бұрын
Thank you, I will!
@timpierson8371
@timpierson8371 5 ай бұрын
Is there a way to download your sample data to follow along with you?
@seanmackenziedataengineering
@seanmackenziedataengineering 5 ай бұрын
Some episodes have the data available at mackenziemackenzie.com/downloads - you can check by date for the episode you're watching. I don't think I have this video's data but am trying to put more up to work with!
@tungduongthe7826
@tungduongthe7826 2 жыл бұрын
I want to change 1 character in the table table . For example, like "T001" to "CH001", how should the query part be done? Thank you!
@seanmackenziedataengineering
@seanmackenziedataengineering 2 жыл бұрын
Good question! Update MyTable Set MyField = Replace(MyField, "T", "CH"); Or, create new query, select Update query on Ribbon, put MyTable in query, double click on field to add it to grid, in "Update to:" put in Replace(MyField, "T", "CH") Good luck!
@seanmackenziedataengineering
@seanmackenziedataengineering 2 жыл бұрын
Just beware, that will update every "T" in the table, in every record! If you just want rows starting with "T", then add a where clause, ie. Where Left(MyField, 1) = "T"
@manishateegala6331
@manishateegala6331 Жыл бұрын
I have 2 tables ..by updating table1 table 2 get updated is it possible
@seanmackenziedataengineering
@seanmackenziedataengineering Жыл бұрын
You bet. You can use a data macro for this: kzbin.info/www/bejne/jXq6o4CsoNhkjdE Also watch the DM intro: kzbin.info/www/bejne/rabceqCroceSq5Y An alternate way is to use a query after a form is updated: kzbin.info/www/bejne/qaW0maV8jpmebqc
@tigerdataimarticus7088
@tigerdataimarticus7088 2 жыл бұрын
I want to update table but my table in another database which place in different location pls suggest 🙏
@seanmackenziedataengineering
@seanmackenziedataengineering 2 жыл бұрын
You can create a linked table to your external table by using the external data tab. Then, run an update query between the two!
@tigerdataimarticus7088
@tigerdataimarticus7088 2 жыл бұрын
@@seanmackenziedataengineering is it possible through SQL query?
@vishnusankarankottarappatt7882
@vishnusankarankottarappatt7882 3 жыл бұрын
Dear Sir, Thank you for the prompt response. After sending the update to you, I was still working on this to find out the issue and I managed to crack down the problem. Though the table was showing indexed when you verify, actually the actual index was on a different field. I offloaded the table to an excel file and reimported and found this. After changing the index from excel file, the program started working fine. But the problem is that I cannot change the index. So currently I am taking a longer way which is taking the input file from a query. Please let me know if you have better ways.
@seanmackenziedataengineering
@seanmackenziedataengineering 3 жыл бұрын
Nice work, you found the problem. You could create a new table with the first field as MyID with type Autonumber. Then, all of the fields of your source table. Append your table into this new table (using Append query). Use the new table for your update as it does not have the old indexes that caused the failure. You can use the procedure method which is much faster.
How Use Delete Queries in MS Access
7:48
Sean MacKenzie Data Engineering
Рет қаралды 4,6 М.
How to Use a Pass Through Query in MS Access - SQL Server Example
18:34
Sean MacKenzie Data Engineering
Рет қаралды 16 М.
Creating a Link Table in Microsoft Access
12:55
Simon Sez IT
Рет қаралды 13 М.
Microsoft Access - Update Multiple Tables from a Single Form
16:27
Design and Deploy
Рет қаралды 120 М.
Microsoft Access A to Z: Relating tables
11:46
Lisa Friedrichsen
Рет қаралды 10 М.
How to Use Union Queries in MS Access
10:13
Sean MacKenzie Data Engineering
Рет қаралды 10 М.
How to Use DLookup in Microsoft Access
15:48
Sean MacKenzie Data Engineering
Рет қаралды 19 М.
How to Make a Search Form with Combo Boxes in MS Access
18:53
Sean MacKenzie Data Engineering
Рет қаралды 34 М.
How to Open a RecordSet in Access VBA and Loop Through the Records
12:45
Sean MacKenzie Data Engineering
Рет қаралды 25 М.
Microsoft Access A to Z: Designing Table Relationships
10:40
Lisa Friedrichsen
Рет қаралды 64 М.
Better Than Smart Phones☠️🤯 | #trollface
0:11
Not Sanu Moments
Рет қаралды 18 МЛН
Tag him😳💕 #miniphone #iphone #samsung #smartphone #fy
0:11
Pockify™
Рет қаралды 4,4 МЛН
#samsung #retrophone #nostalgia #x100
0:14
mobijunk
Рет қаралды 14 МЛН