Results 1 to 3 of 3
  1. #1
    St.Alphonzo is offline Novice
    Windows 7 64bit Access 2016
    Join Date
    Dec 2015
    Posts
    9

    Date checking for insurance expiration


    Hiya... so we are a general contracting firm and we have a table that stores a list of our subcontractors -- [Vendors].... I would like to have a field in this table that shows when their General Liability and Workman's Compensation policies expire (as they are all different and it is a royal pain to flip through all the paperwork) ... since there is no way around manual entry of the start and end dates of each policy, I was wondering if there was a way to create some kind of ticker or pop-up notification upon the expiration date of any given policy... I know this is a basic calendar function that I could employ outside of Access, but I was wondering if there was a script I could write that would execute upon loading the database that would check the [GL Expiration] and [WC Expiration] fields of the [Vendors] table and give some kind of a notification that an expiration is imminent?

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,527
    In a query,pull the client, date , and the imminent time, say 30days.
    select client, [expDate] from table where dateDiff("d",[expDate],date()) <= 30

    find those expired:
    select client, [expDate] from table where [expDate]<date()

  3. #3
    St.Alphonzo is offline Novice
    Windows 7 64bit Access 2016
    Join Date
    Dec 2015
    Posts
    9
    booya! thank you ranman!!

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

Similar Threads

  1. Automatically populate expiration date
    By Tyler in forum Access
    Replies: 2
    Last Post: 01-10-2014, 10:05 AM
  2. Expiration Date
    By nhoover in forum Database Design
    Replies: 5
    Last Post: 03-14-2013, 10:08 PM
  3. Databse Products Expiration Date
    By PATRICK in forum Database Design
    Replies: 9
    Last Post: 02-05-2013, 08:10 PM
  4. Query for upcoming expiration date
    By jones in forum Queries
    Replies: 2
    Last Post: 05-16-2012, 02:18 AM
  5. Expiration Date criteria
    By NISMOJim in forum Queries
    Replies: 9
    Last Post: 07-22-2011, 11:22 PM

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