Results 1 to 3 of 3
  1. #1
    Mcal6096 is offline Novice
    Windows XP Access 2010 64bit
    Join Date
    Aug 2017
    Posts
    4

    Mileage Alerts


    Hello, I am very basic with Access. I currently have a fleet management database. Along with other aspects, I added a fuel log. I would like to use the mileages entered on the fuel log, for specific vehicles, to alert me when that bus has driven 5,000 miles. Is there any way to do this?

  2. #2
    Bulzie is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    Nov 2015
    Posts
    1,471
    How do you want to be alerted, do you want that field to turn red when the miles goes over 5000? Do you want an email to you? You could trigger something off of a calculation like:

    AlertMe = DSum("BusMiles", "tblFuelLog", "BusID = " & Me.BusID) > 5000

    You would need to provide more details on your table and fields, maybe some sample data also for folks to give you a more specific answer.

  3. #3
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    in the figure,
    i used the tService table to get the most recent service date of the vehicle. ( qsMaxSvcDate )
    NOTE: yours will be 5000.. mine shows 100.

    then
    join this query with the tMilage table to show if it needs service. (qsBusSvcMilage)



    Click image for larger version. 

Name:	bus service.png 
Views:	12 
Size:	42.6 KB 
ID:	33232

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Automatic alerts at a certain volume
    By bsegge in forum Access
    Replies: 10
    Last Post: 01-17-2017, 10:25 AM
  2. Replies: 3
    Last Post: 11-06-2016, 11:10 AM
  3. Replies: 4
    Last Post: 11-15-2015, 05:50 PM
  4. Replies: 13
    Last Post: 03-20-2014, 09:31 AM
  5. Duplicate value Alerts?
    By Delta223 in forum Access
    Replies: 2
    Last Post: 01-12-2012, 11:09 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums