Free Lessons
Fast Tips
Topic Index
Home   Courses   Index   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
Home > TechHelp > Directory > Access > Reminder Popup < Separate Email | Order By Filter On Load >
Back to Reminder Popup    Comments List
Batteries Due Upload Images   Link   Email  
Rajashree Natarajan        
3 years ago
I have a patient database for a hearing aids business. My main form has all the demographics and I have buttons to access different forms with information like hearing aids, insurance Billings, batteries.

My patients get batteries every six months. Is there a way I can tell they are due for batteries when I open up the main form? Like a pop up or a field that becomes yellow or anything.  Batteries is a separate table and I have a query calculated field to add 6 months every time they pick up batteries.

Now, we have to open the form to see if they are eligible. It would be nice to have something on the main form to let us know they are eligible on the current day. Do you think it's possible?
Kevin Robertson            
3 years ago
Rajashree Natarajan        
3 years ago
Thank you for directing me to these tech help video. How would I write my Dlookup to show if batteries are due? Patients are supposed to get batteries every six months. So if a patient comes today and I open up the main form, I need the pop up to say he is due today for batteries.  He could have picked up batteries 8 months or 10 months ago. Can you help me write the last part of the will be Dlookup "customer ID", "BatteryT", "SixMonthdue=..........( what wd I put in there to show he is due today?)

My SixMonthdue is a calculated field in a query based on DateBattGiven. Batteries due are 6 months  after DateBattGiven.
Kevin Robertson            
3 years ago
DueDate: Dlookup("CustomerID", "BatteryT", "SixMonthDue=# & Date() & "#")
Rajashree Natarajan        
3 years ago
Thanks Kevin. Can I use BatteryQ instead of BatteryT in the formula you gave? SixMonthdue is a calculated field in BatteryQ. Also since the customer keeps getting batteries every 6 months, I will need the latest due date from that column. BatteryID is the Autonumber for the query and Customer ID is the foreign key.  Sorry if I am not making it clear. I am trying to learn access but this is a bit advanced for me and I need it now.
Kevin Robertson            
3 years ago
To get the latest due date you can use the DMax Function.

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


The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.

Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
My Account
My Courses
Lost Password
Student Databases
Change Email
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Customer Support
Web Site Tour
Consulting Services
Affiliate Program
Richard Rost
Free Lessons
Mailing List
Video Tutorials
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Terms of Sale
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

Copyright 2024 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 4/15/2024 9:01:36 AM. PLT: 1s