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 Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Search using foreign key
Robert Nugent  
    
5 years ago
Hi to everyone,
I have an Employee name and contact details table. I also have a Contract table. Some employees have two contracts. I have created a form to update data in Contract table. The Employee table primary key has been put in the Contract table as a foreign key. The Contract table does not have employee names but is linked to the names in the Employee table by the keys. I have used a combo and disabled it and covered the scroll button so as to show the name of employee in the Contract table. I am trying find a way of putting in a search so that users can look up contracts by employee name. Is there a way to do this?
Robert Nugent OP  @Reply  
    
5 years ago
Hi, I should have said, I have used a combo and disabled it and covered the scroll button so as to show the name of employee in the form.
Richard Rost  @Reply  
          
5 years ago
You should be able to just right-click and filter the form. Is that not good enough?
Robert Nugent OP  @Reply  
    
5 years ago
Hi Richard, I can right click for filters but I only have the Employee name Id on the form not their actual name. The form's source is the Contract table not the Employee table. I have now put a combo sourced from a query that shows the names of employees and the contract IDs they have. So now the user can find the Contract ID for a person and Contracts ID number can be searched with a filter to find the contract for that person. This is pretty simple for users, thanks.

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

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 1:11:14 AM. PLT: 0s