473,399 Members | 2,278 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,399 software developers and data experts.

Send automatic email based on form results

I am using Access 2003 and I've barely got the basics under control. I've created a form that has a running sum of items for what is on hand when items are removed. I also have min requirement on that form. What i'd like to do is compare what is on hand with min requirement. If the on hand gets below min requirements I would like for access to send an automatic email alerting someone of the item that needs to be ordered before access is closed. At this point though I'd be happy with a command button that I could pushed to send the email.
Apr 29 '07 #1
1 3867
nico5038
3,080 Expert 2GB
The button wizard will have the possibility to create an emailing button and creating one yourself is rather easy when you open the code behind a button and place a docmd.sendobject command.
It has a lot of parameters, but most are self explanatory.

I'm a bit reluctant in triggering such emails.
It's from a user point of view better to create a report showing the stockitems that are below the ordering level. I normally would have a tblStockItems with a field "orderinglevel" indicating the minimum required stocklevel.
That way the warehouse can check e.g. daily the stocks to be ordered...

Nic;o)
Apr 29 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Kindler Chase | last post by:
win2k server IIS5 CDO Mail Using CDO mail, I'm looping through several email addresses and sending emails. Everything works fine, however, I'd like to set a variable based on the success or not...
13
by: Nathaniel Maier | last post by:
Hi. How can I send form results to an email address based on what the user selects? e.g. not to the same address all the time, and not to all addresses, but to the one that the user selects. How...
3
by: Steve | last post by:
Hi, I've small website and "stole" a javascript routine that uses HTML forms and MAILTO command. This worked 2 years ago but hasn't recently. Now the message gets stuck in Outlook's OUTBOX and...
3
by: Kenny | last post by:
I'm trying to retrieve the data off a form (survey.htm) and email the results back to me using CDO and ASP (survey.asp). I'm confused as to how to retrieve the form data from survey.htm and send...
2
by: phillipmcgough | last post by:
I need to know how I can have a form sent to an email that is in a URL. For example: If I have a site with a form that has First Name: Last Name: Email: Phone: in it, and a person goes to...
5
by: Sin Jeong-hun | last post by:
Hi. I would like to let users send bug reports or other messages to me. Maybe the easiest way to send e-mails from my application is just use the default e-mail agent by executing a link...
6
by: druidamix | last post by:
I'm trying to make a gui for an application, but it not run. i'm trying to send the output of execlp to pipe and read from his father. but i don't obtain results. Any advince? Thank you. ...
5
by: pat | last post by:
Hi, i'am using an ac2K progrom which sends automaticle emails with an attachment. Since last week , a error occurs with number 2293. Our mail program is Outlook 2003. It's probably a matter...
36
by: trixxnixon | last post by:
is it possible to have access generate an automatic email based on a condition? say for example, once a record reaches a particular age, have an email automatically populate and send to the email of...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
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...
0
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,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.