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 3    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 

Richard Rost 

18 years ago
There's nothing in Access to stop you from using a date as a primary key. Personally, I wouldn't do it because it's a bit sloppy, but you can if you want. Just be careful because different computers might be set to different regional date formats. Take 4/5/08 for example. You might see this as April 5th. Someone in Europe would see May 4th. If I were to use a date as a key field, I would make a custom format like this: YYYYMMDDHHNNSS. That way my date is accurate down to the second, and this format is nearly universal. The only problem you have then is what if two records are added by users on a network at the exact same moment? Will Access handle it? I'd be curious to see (no, I'm not going to set it up and test it right now). You could also run into problems around Daylight Savings Time switchover... all of the sudden it's 1:00 AM again and you're running into tons of duplicate values! I personally prefer and recommend using AutoNumbers for primary keys. That's basically what they're in Access for.

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

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/9/2026 3:03:55 AM. PLT: 1s