Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old December 1st, 2003, 06:59 AM
ghewitt ghewitt is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 1 ghewitt User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy MS Access How to Remove Records from One Table That Are Unmatched in Another Table

I have one large table conssiting of students with records that utilize the a Student ID # (text) to distinguish them from one another. Each record in this table simply consists of a StuID# and the class they have taken for that quarter (ie. English 2). A StuID# may appear many times in this table to identify each class being taken (upwards of 10 records for any one StuID#. There is another table of similar design but it contains StuID#s that are no longer valid (they left or dropped out etc.) How can I delete the (potentially multiple) records in the larger table that exist in the smaller table.


Big Table A Small Table B

StuID# Class StuID# Status
K123 Eng 1 G654 Dropped
K123 Eng 2 F111 Postponed
K123 Eng 3
G654 Ger 1
G654 Ger 2
G654 Eng 1
G654 Eng 2
G654 Eng 3
F111 Fr 1
F111 FR 2
F111 Ger 1
Z1 Ger1

So what I want to do is eliminate G654 and F111 located in Small Table B from Big Table A.

I know how to create the unmatched query but not how to delete multiple records based upon that query. Please Help

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > MS Access How to Remove Records from One Table That Are Unmatched in Another Table


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT