Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Back to Access Forum    Comments List
Upload Images | @Reply | Bookmark | Link | Email | Next Unseen |
Access table Structure
Richard Rost 

17 years ago
Steve, from what I understand, you might want to have a separate table to track Positions. Have one table for Employees, and another to track their Positions, since their Position can change from time to time. Here's what I would do:

EmployeeT: EmployeeID, FirstName, LastName, etc.

PositionT: PositionID, EmployeeID, Description, StartDate, EndDate

Now, your data could look like this:

EmployeeT
-----------
1, Joe, Smith
2, Sue, Jones
3, Bill, Walters

PositionT
-----------
1, 1, Programmer, 1/1/09, 12/1/09
2, 3, Analyst, 4/6/08, NULL
3, 1, Trainer, 2/1/06, 12/31/08
4, 2, Sales Rep, 1/1/05, 12/1/06

So now you know that Joe Smith (ID 1) started out as a Trainer on 2/1/06 and then switched to a Programmer on 1/1/09. He left the company on 12/1/09.

Sue Jones (ID 2) was a Sales Rep from 1/1/05 to 12/1/06.

Bill Walters (ID 3) was an Analyst from 4/6/08 and is still with the company (no end date).

That gives you enough information to track each person and their history of positions. You could also add a SALARY field to the position table if you want to track changes in their pay.

If at any time you want to look up their current position, just do a DLOOKUP for their record in the position table where the EndDate is null. Or, if you want to search for their data on a specific date, you can those dates in the DLOOKUP function call.

If you want to find the last position that a terminated employee held, just use DMAX on the date field.

Does this help push you in the right direction?

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

Next Unseen

 
 
What's This?

 

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: 11/15/2026 9:07:55 AM. PLT: 1s