Hello…I am trying to develop a database that tracks position numbers, names, and other fields in a database and I am having a hard time figuring out how to set up the database. What I want to do is assign the primary key to a position number, but this position number could change. I also need to keep the names of all the employees that have been assigned to a position number. For example position #1 had John from January 2014 to October 2014 and now position number #1 has Jason. I also need to track when a position number changes. For example position #1 became position number #15. I want a trail that can tell me that #15 used to be position #1. What is the most logical way to set this up in Access? Thank you in advance for all your help.
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Designing new database to keep history
Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Designing new database to keep history
- This topic has 2 replies, 2 voices, and was last updated 10 years, 6 months ago.
Viewing 0 reply threadsAuthorReplies-
WSDavidHLevin
AskWoody LoungerOctober 30, 2014 at 2:13 pm #1473108Hi Seba,
My immediate impression is that position number is too fluid to be a viable primary key. Instead, the primary key for position should probably be an immutable position_ID that the user might not ordinarily need to see. Whenever a given position_ID would be assigned a different position number, a tuple consisting (at minimum) of position_ID, position_number, and effective_timestamp could be entered into a Position Number History table. Analogously, there could be a table consisting of (at minimum) position_ID, employee_ID, and effective_timestamp, to which a row would be inserted whenever an employee were assigned a different position (but not if the change were merely to the position_number associated with the employee’s present position_ID).Presenting the data as if they were keyed by position_number rather than position_ID would require creating “views” (or whatever they’re called in Access) that would join tables by position_ID and involve other criteria (such as the most recent row in Position Number History for the given position_number).
Hope this helps,
Dave -
WSSeba
AskWoody Lounger
-
Viewing 0 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
To download Win 11 Pro 23H2 ISO.
by
Eddieloh
3 hours, 16 minutes ago -
Manage your browsing experience with Edge
by
Mary Branscombe
3 hours, 54 minutes ago -
Fewer vulnerabilities, larger updates
by
Susan Bradley
8 minutes ago -
Hobbies — There’s free software for that!
by
Deanna McElveen
5 minutes ago -
Apps included with macOS
by
Will Fastie
3 hours, 57 minutes ago -
Xfinity home internet
by
MrJimPhelps
8 hours, 46 minutes ago -
Convert PowerPoint presentation to Impress
by
RetiredGeek
10 hours, 46 minutes ago -
Debian 12.11 released
by
Alex5723
19 hours, 12 minutes ago -
Microsoft: Troubleshoot problems updating Windows
by
Alex5723
22 hours, 53 minutes ago -
Woman Files for Divorce After ChatGPT “Reads” Husband’s Coffee Cup
by
Alex5723
2 hours, 19 minutes ago -
Moving fwd, Win 11 Pro,, which is best? Lenovo refurb
by
Deo
19 hours, 22 minutes ago -
DBOS Advanced Network Analysis
by
Kathy Stevens
1 day, 15 hours ago -
Microsoft Edge Launching Automatically?
by
healeyinpa
1 day, 6 hours ago -
Google Chrome to block admin-level browser launches for better security
by
Alex5723
1 day, 18 hours ago -
iPhone SE2 Stolen Device Protection
by
Rick Corbett
1 day, 10 hours ago -
Some advice for managing my wireless internet gateway
by
LHiggins
18 hours, 17 minutes ago -
NO POWER IN KEYBOARD OR MOUSE
by
HE48AEEXX77WEN4Edbtm
11 hours, 9 minutes ago -
A CVE-MITRE-CISA-CNA Extravaganza
by
Nibbled To Death By Ducks
2 days, 3 hours ago -
Sometimes I wonder about these bots
by
Susan Bradley
2 days ago -
Does windows update component store “self heal”?
by
Mike Cross
1 day, 14 hours ago -
Windows 11 Insider Preview build 27858 released to Canary
by
joep517
2 days, 17 hours ago -
Pwn2Own Berlin 2025: Day One Results
by
Alex5723
1 day, 1 hour ago -
Windows 10 might repeatedly display the BitLocker recovery screen at startup
by
Susan Bradley
14 hours, 31 minutes ago -
Windows 11 Insider Preview Build 22631.5409 (23H2) released to Release Preview
by
joep517
2 days, 20 hours ago -
Windows 10 Build 19045.5912 (22H2) to Release Preview Channel
by
joep517
2 days, 20 hours ago -
Kevin Beaumont on Microsoft Recall
by
Susan Bradley
2 days, 9 hours ago -
The Surface Laptop Studio 2 is no longer being manufactured
by
Alex5723
3 days, 4 hours ago -
0Patch, where to begin
by
cassel23
2 days, 22 hours ago -
CFPB Quietly Kills Rule to Shield Americans From Data Brokers
by
Alex5723
3 days, 18 hours ago -
89 million Steam account details just got leaked,
by
Alex5723
3 days, 6 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.