How to Create a Delete Query to Delete Records from Tables in Microsoft Access

  Рет қаралды 19,309

Computer Learning Zone

Computer Learning Zone

Күн бұрын

In this Microsoft Access tutorial, I'm going to teach you how to use a Delete Query to delete records from tables. We'll do a simple delete based on one table first, then we'll do a more complex delete query involving criteria from two tables.
LEARN MORE:
599cd.com/Delete
PRE-REQUISITE:
Query Criteria: 599cd.com/Crit...
RECOMMENDED COURSES:
Access Expert 15: 599cd.com/ACX15
Access Expert 16: 599cd.com/ACX16
LINKS:
Access Backup: 599cd.com/Backup
Don't Delete Data: 599cd.com/Dont...
ISO Date Format: 599cd.com/ISO
Relationships: 599cd.com/Rela...
BECOME A MEMBER:
KZbin: / @599cd
or My Site: 599cd.com/THMe...
ADDITIONAL RESOURCES:
FREE Access Beginner Level 1: 599cd.com/Free1
$1 Access Level 2: 599cd.com/1Dollar
Donate to my Tip Jar: 599cd.com/TipJar
Get on my Mailing List: 599cd.com/YTML
Contact Me: 599cd.com/Contact
TechHelp: 599cd.com/Tech...
Consulting Help: 599cd.com/DevNet
Twitter: / learningaccess
en.wikipedia.o...
products.offic...
microsoft.com/...
KEYWORDS
access 2016, access 2019, access 2021, access 365, microsoft access, ms access, ms access tutorial, #msaccess, #microsoftaccess, #help, #howto, #tutorial, #learn, #lesson, #training, #database, #fasttips, delete query, Create and run a delete query, How to Create a Delete Query, How to Delete Data using a Delete Query, Delete Queries, delete query using two tables
QUESTIONS:
Please feel free to post your questions or comments below. Thanks.

Пікірлер: 19
@dolittlediehard1670
@dolittlediehard1670 Жыл бұрын
My teacher did a simple delete query but deleting records from one table based on criteria in another is also required. In our example, customers who attended the last auction but didn't buy anything are to be deleted. The criteria is salespersonID is null in the items table. So many thanks for the video.
@dolittlediehard1670
@dolittlediehard1670 Жыл бұрын
Except 😢 your example didn't work for me. I can't type False in the criteria cell for the customers table because there's no checkbox to say whether they're active or not. The items table contains the salespersonID and the CustomerID. If someone didn't buy something then in the items table the salespersonID is null. I can list the customers who didn't buy anything but i can't delete them. My delete query is not based on time.
@599CD
@599CD Жыл бұрын
Sorry but I really don't understand your question. I need to see some screenshots. 599cd.com/Ask
@wesleypchow
@wesleypchow 4 ай бұрын
Exactly what I needed - Thank you Richard!
@codykniffen
@codykniffen 9 ай бұрын
"Oh that's Geddy Lee" made my day.
@599CD
@599CD 9 ай бұрын
Love me some Rush
@brightonsendoi4745
@brightonsendoi4745 2 ай бұрын
How do I eddit Data not entered in previous months
@ausproto
@ausproto Жыл бұрын
Hi Rick, How can I best automate a Delete Query? I use an Audit Log, in which I would like it to automatically run a Delete Query every 2 months, deleting any record on the Audit Trail that is older than 60 days prior to the time of deletion (=Now() ). How can I best go about this? Many thanks.
@gregoryjeffries8475
@gregoryjeffries8475 2 жыл бұрын
I use a status indicator set to delete after performing whatever action needed for the data. Only records marked for delete are removed.
@599CD
@599CD 2 жыл бұрын
Good idea
@benmoore8547
@benmoore8547 Жыл бұрын
brilliant video, super helpful loved it!!
@599CD
@599CD Жыл бұрын
Thanks
@akee1618
@akee1618 2 жыл бұрын
Where can i learn to bring a pop up window displaying remaining stock i have while entering a sales invoice?
@599CD
@599CD 2 жыл бұрын
599cd.com/DLookup
@willmiranda9710
@willmiranda9710 8 ай бұрын
How can I delete a single row of data containing over a 100 row of data. do not want to delete the remaining 99 rows of data.
@apekshaverma9428
@apekshaverma9428 2 жыл бұрын
Hii ..what is meaning of access (only pc )? If i take 1 month trail of microsoft 365 apps fir business on my laptop ? Will access work on it ?
@599CD
@599CD 2 жыл бұрын
Buy Access: 599cd.com/BuyAccess
@hershqadir7607
@hershqadir7607 2 жыл бұрын
thank you
@599CD
@599CD 2 жыл бұрын
Welcome
Create a Crosstab Query in Microsoft Access to Summarize Data from Two Fields
16:49
How Use Delete Queries in MS Access
7:48
Sean MacKenzie Data Engineering
Рет қаралды 4,8 М.
How to Create a Form with a Subform to Show Related Records in Microsoft Access
29:19
17. Delete Query (Programming In Microsoft Access 2013) 🎓
10:11
Programming Made EZ
Рет қаралды 105 М.
Archive Records: Archiving Old Data in your Microsoft Access Database
25:47
Computer Learning Zone
Рет қаралды 10 М.
Creating a Query in Microsoft Access
26:09
Computer Learning Zone
Рет қаралды 8 М.