Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2021
    Posts
    2

    How to add expiry date automatically in MS Access?

    I've created a table to store data from my shop. Basically I'm issuing certificates to my customers. Some certificates will have 6 months validity whereas some have one year validity. How can I automatically add expiry date with respect to the type of certificate and issuing date?

  2. #2
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,941
    you don't need to store the date, only the validity period. Assuming this is stored as 6 or 12 months, you can then calculate the expiry date as

    dateadd("m",validityperiod,issuedate)

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

Similar Threads

  1. Database expiry date
    By bilalo in forum Programming
    Replies: 7
    Last Post: 08-17-2019, 04:24 AM
  2. Replies: 3
    Last Post: 03-05-2019, 06:48 PM
  3. Replies: 4
    Last Post: 07-20-2018, 08:31 AM
  4. Replies: 3
    Last Post: 06-20-2017, 11:05 AM
  5. Replies: 6
    Last Post: 07-11-2016, 07:38 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