Computer Learning Zone CLZ Access Excel Word Windows

If you think education is expensive, try ignorance.

-Andy McIntyre
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Microsoft Access 302    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
DLookup
Susan Tatlock 

16 years ago
Hi Richard,

sorry I was not clear with my last post. I work at a University and keep details of all our courses on a data base. We also include the name, email address and ext no of the peson in each department who is our contact. This is the DLookup I use at the moment:

Private Sub DptContacts_AfterUpdate()


EmailAddress = DLookup("emailaddress", "Contacts2", "ID=" & DptContacts)
ExtNo = DLookup("extno", "Contacts2", "ID=" & DptContacts)

What this does is when I update contact details for a department, I just update the department contact and then that persons email address and ext no are updated also. What I want to do is for example, if we have a department contact who uses two ext nos, one for 3 particular courses and a different one for all the others, then I dont want that persons ext number added automatically, I want to be able to choose.Do you think the easiest way would be to just add a second record to the table containing the department contacts but just change the name slightly so I can recognise which ext this will add. Sorry if I am getting all complicated.

Thanks for your patience so far.

Susan

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

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: 7/7/2026 8:47:32 PM. PLT: 1s