Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Beginner 2 Lessons    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
date field and delete query
David Krongelb 
    
13 years ago
Thanks for the answer, Richard, but take it one step further please.  Once I can see 100 "pairs" of records after the query, I know I can mark one in each pair, one at a time, hit "delete", verify it, and then move on.  But can I click on one in the first pair, then hold it while I click the next, and the next.  As with field attributes and moving them, there is a Shift+click and sometimes there's a control+click.  So the question is, how can I hold them and not have to hit delete and "Y" each and every time?  Or can't I?

While I'm at it, my zipcode field (Imported from a dbase) is 10 bytes with the full zip.  Is there a way I can split it to two fields, 5 + 4 once it's already in Access?  In Foxpro, I could export Left(zip,5)+" "+substr(zip,7,4) and get it split into a csv or sdf file.  But can I do it in Access?  
P.S.  I'm in the middle of Level 2 and plan to keep going.  Thanks.  You're a good teacher.
david krongelb


Reply from Richard Rost:

Nope. Sorry. You can't CTRL-click specific records in a table or form. There are some more advanced tricks you could pull to automatically delete the duplicates, but it would be easier to explain them to you once you have a little more Access under your belt. You could use a DCOUNT function to determine how many there are, then use DMAX to delete the higher of the two. Again... much more advanced.

Yes, there are also LEFT, MID, and RIGHT functions in Access. You would basically create two new fields in your table (ZIP and ZIP4) and then with an UPDATE QUERY set ZIP to Left(ZipCode,5) and ZIP4 to Right(ZipCode,4). SEE THIS.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Beginner 2 Lessons.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/16/2026 4:29:43 PM. PLT: 3s