Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
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 
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?
Rajashree Natarajan
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 Dlookup...it 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
DueDate: Dlookup("CustomerID", "BatteryT", "SixMonthDue=# & Date() & "#")
Rajashree Natarajan
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
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.
 

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 2024 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 3/4/2024 5:57:23 AM. PLT: 0s