473,698 Members | 2,466 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Email from Access with Criteria

All, I am trying to enhance a larger database but have created a basic
db for now. Open Date, Due Date and Days Sitting in tbl fields, Query
Fields and Form Fields as well as report. What I am looking to do is
if Days Sitting equals 45 then send email to specific person. The
email will always be to the same person. Your assistance with this
would be greatly appreciated. Thanks!

Jun 20 '07 #1
3 2083
On Jun 20, 4:08 pm, Smalley <js_0...@yahoo. comwrote:
All, I am trying to enhance a larger database but have created a basic
db for now. Open Date, Due Date and Days Sitting in tbl fields, Query
Fields and Form Fields as well as report. What I am looking to do is
if Days Sitting equals 45 then send email to specific person. The
email will always be to the same person. Your assistance with this
would be greatly appreciated. Thanks!

Is days sitting actually needed? If its a simple calculation from
otehr fields it is redundant and shoudl not be stored. Example if the
dayssitting = current date - open date then you do not need to store
days sitting

Now to answer the rest of your question, more info is needed...

1) What is it you want to send to the person
2) Do you send to the sme person all the tiome or to a person based on
which record has been sitting 45 days (are these projects by cjance)?
3) if send to ius based on record how do you know who to send the data
to for each record (project?)

Jun 20 '07 #2
On Jun 20, 3:12 pm, DavidB <j...@yahoo.com wrote:
On Jun 20, 4:08 pm, Smalley <js_0...@yahoo. comwrote:
All, I am trying to enhance a larger database but have created a basic
db for now. Open Date, Due Date and Days Sitting in tbl fields, Query
Fields and Form Fields as well as report. What I am looking to do is
if Days Sitting equals 45 then send email to specific person. The
email will always be to the same person. Your assistance with this
would be greatly appreciated. Thanks!

Is days sitting actually needed? If its a simple calculation from
otehr fields it is redundant and shoudl not be stored. Example if the
dayssitting = current date - open date then you do not need to store
days sitting

Now to answer the rest of your question, more info is needed...

1) What is it you want to send to the person
2) Do you send to the sme person all the tiome or to a person based on
which record has been sitting 45 days (are these projects by cjance)?
3) if send to ius based on record how do you know who to send the data
to for each record (project?)
Understandable on the redundancy of the field. Will eliminate Date
Sitting.
1. Send all records or a report that are 45 days old.
2. Same person all of the time.
3. Not required since email is to same person at all times. Email is
wanted only when the field is 45 days past Open Date.

Jun 20 '07 #3
On Jun 20, 4:34 pm, Smalley <js_0...@yahoo. comwrote:
On Jun 20, 3:12 pm, DavidB <j...@yahoo.com wrote:


On Jun 20, 4:08 pm, Smalley <js_0...@yahoo. comwrote:
All, I am trying to enhance a larger database but have created a basic
db for now. Open Date, Due Date and Days Sitting in tbl fields, Query
Fields and Form Fields as well as report. What I am looking to do is
if Days Sitting equals 45 then send email to specific person. The
email will always be to the same person. Your assistance with this
would be greatly appreciated. Thanks!
Is days sitting actually needed? If its a simple calculation from
otehr fields it is redundant and shoudl not be stored. Example if the
dayssitting = current date - open date then you do not need to store
days sitting
Now to answer the rest of your question, more info is needed...
1) What is it you want to send to the person
2) Do you send to the sme person all the tiome or to a person based on
which record has been sitting 45 days (are these projects by cjance)?
3) if send to ius based on record how do you know who to send the data
to for each record (project?)

Understandable on the redundancy of the field. Will eliminate Date
Sitting.
1. Send all records or a report that are 45 days old.
2. Same person all of the time.
3. Not required since email is to same person at all times. Email is
wanted only when the field is 45 days past Open Date.- Hide quoted text -

- Show quoted text -

Do you know how to use code to send email in general? if so, just
wite code that tests to see if any records have been sitting 45 days
and if so gen the report and send it. If not, I think Dev's site
(http://www.mvps.org/access/) has some info on that.

Jun 21 '07 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
8377
by: Nothing | last post by:
I have a report based on a query that is based agaisnt two tables. The report pulls information for 1 customer. The tables may hold multipul customers. I want to email just the ONE report. All the options that I have found to email a report email multipul pages of the report, i.e. it sends all the information it can get fomr the query results. I am triggering the report via VBA off of a form. There is a button that
4
2806
by: acni | last post by:
I have the following peice of code to try and send an email to selected contacts in my form.The problem is this line: StrStore = DLookup("", "qrySelectEmail", "??????") This looks up the email field in the records returned for the query qrySelectEmail. The final bit needs to tell it to go to the first record the first time the loop runs, then the second record the second time the loop runs etc… But I cannot figure out a way to do this,...
6
3674
by: Bob Alston | last post by:
I am looking for Access reporting add-in that would be easy to use by end users. My key focus is on selection criteria. I am very happy with the Access report writer capabilities. As far as development of reports, it is certainly fine in my book. But for end-users, with little experience or training, it would be nice to have an easy way to handle various selection criteria, perhaps with relatively stock reports. I see easy to use by...
8
1796
by: Liam.M | last post by:
Hey guys.... I need to find a way to loop through all of my records in the database ( so essentially query the database) based on a Date Field ("DueDate") and if any record falls within 2 months of this date, then Run a Command I have already written that will send an email to my specified person. I already have the email side of things "down pat" BUT I just need to automate this process. Any suggestions?
3
3506
by: rhobson2 | last post by:
Hello, I wrote a database applicaiton using Access XP (2002) and everything has been working good for the client until they purchased a couple of new computers with Access 2003. The meetings form has an unbound combo box listing all the meetings in the database allowing the user to navigate between meeting records. The meetings form also has a list box that displays a list of members associated with a meeting.
9
3942
by: pic078 via AccessMonster.com | last post by:
I need serious help - I have a frontend/backend Access database (2 MDE Files) that remains stuck in task manager after exiting the application - you can't reopen database after exiting as a result - I have read every post out there and spent hours trying to figure out the problem with no success whatsoever - I have constrained the problem to one form however, and I think it's hiding somewhere in my code associated with this form, which is...
4
2075
by: kang jia | last post by:
hi i am doing mailinglist currently. the code in my first page is like this : : <html> <head> <link rel="stylesheet" type="text/css" href="gallery.css" /> <script language="JavaScript"> <!--
1
1905
by: DrJarmin | last post by:
Hello The problem is this: in the criteria for a list box I reference the parent form - and Access KEEPS changing the criteria for one that won't work. Details below: I have a couple of list boxes on a form. In the row source I use the primary key of the form as a criteria. For example, I have company details on the form. The list box shows
1
19399
MMcCarthy
by: MMcCarthy | last post by:
Access has a number of built-in functions which can be generally used in queries or VBA code. Some of the more common ones are: Note: anything in square brackets is optional Date Functions Date() - Returns the current system date Now() - Returns the current system timestamp (date and time)
2
2292
by: MNNovice | last post by:
I am working on a database on my CD collection using Access 2003. Some of the table structures are given below. Table 1 tblMusicCategory Field 1: MusicCategoryID - Auto Number (PK) Field 2: MusicCategory - text Field 3: MusicCategoryAbbv - text Table 2 tblArtists Field 1 ArtistID - Auto Number (PK)
0
8609
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9166
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9030
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8899
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
1
6525
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5861
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4621
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3052
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2007
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.