Results 1 to 2 of 2
  1. #1
    back2thefuture is offline Novice
    Windows 7 64bit Access 2013 64bit
    Join Date
    Jun 2016
    Posts
    1

    Contract management database - E-mail notifications?

    Dear all,



    I hope you are all well.
    I have a contract management database, which basically stores all our contracts for things like products and services. However when the contract is up for renewal i would like some kind of notification process.
    In other words is it possible in access to have a contract...when that contract is up for renewal (within a specified period 90,180 days etc) that the contract owner gets sent an e-mail?

    Any help would be greatly appreciated.

    Cheers

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    youll have a form, on it is a list box.
    the query to the list box is clients w contracts due within X days.
    criteria: DateDiff("d",[ExpireDate],Date()) < 30 (or 90 or 180) You could also set this on the form as a combo box. Pick 1.

    These emails will show in the list box. To send them emails:
    Then click a Send button to run ScanAndEmail below.
    It will run thru the list and send the report.
    Code:
    '------------
    Public Sub ScanAndEmail()
    '------------
    dim i as integer
    dim vTo
    
      'go thru emails in the list box
    For i = 0 To lstEAddrs.ListCount - 1
       vTo = lstEAddrs.ItemData(i)
       lstEAddrs = vTo 
           
       DoCmd.SendObject acSendReport,  "rptReminder", acFormatPDF, lstEAddrs , , , txtSubject, txtBody
    Next
    End Sub

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

Similar Threads

  1. rental contract database
    By chermiti in forum Access
    Replies: 11
    Last Post: 03-15-2015, 10:58 PM
  2. Replies: 2
    Last Post: 06-13-2014, 08:04 AM
  3. Replies: 16
    Last Post: 01-10-2013, 07:14 PM
  4. Contract Management project
    By TheEngineer in forum Access
    Replies: 4
    Last Post: 07-16-2010, 02:57 PM
  5. PTO Time Management Database
    By Stanggirlie in forum Programming
    Replies: 1
    Last Post: 03-27-2009, 09:33 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