473,385 Members | 1,622 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,385 software developers and data experts.

AUTO email with Access

I need Access to automaically email the contacts data in TXT Format like this,

First_Name: John
Last_Name: Smith
Address: 12345 TBD

When a particular Cells data is = -1 then I need to send that contacts data as an E-mail TEXT with the labels not as a TEXT FILE attatchment but as TEXT in the email body...

BTW the table needs to be auto updated about every 5-10 minutes....to update the data...

then when a particular cell is = -1 then that triggers the email event...and sends the contacts data...

I need as much code hand holding as possible...Very new... :)

THX
Aug 1 '06 #1
3 2929
PEB
1,418 Expert 1GB
So you need a code/ function for generating the txt file...

For sending the email there is one command that yo c use in Ms Access and I don't think that it is a problem

For your generation code see this exemple and commands inside:

Width # Statement Example
This example uses the Width # statement to set the output line width for a file.

Open "TESTFILE" For Output As #1 ' Open file for output.
Print #1, "Name: " , Forms!Myform!Name
Print #1, "Position: " , Forms!Myform!Position
Close #1 ' Close file.


Those exemple is taken from Access Basic help! All the commands are described there!

Have a nice day!
Sep 9 '06 #2
PEB
1,418 Expert 1GB
And if this information have to be like a Body so why do you want to generate your TXT File you don't need to do it!
Sep 9 '06 #3
PEB
1,418 Expert 1GB
Simillar situation in:

http://www.thescripts.com/forum/thread533046.html
Sep 9 '06 #4

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

Similar topics

2
by: charlie | last post by:
I was wondering if sql server 2000 has an auto documenter utility that can dump information about a database into a word, excel, or text file. I would not need anything to complicated just table,...
4
by: Phillip J. Allen | last post by:
Hi all, I have a table with an “autonumber” primary key field that also acts as a foreign key in 2 other tables. I would like to programmatically add a new record to the first table and the...
6
by: Corepaul | last post by:
I am new to Access 2000. My operating system is Windows 2000. In the early stage of development I noticed something weird. On my form, I have a Command Button named "btnAlbumUp". The first time...
1
by: Thomas Leggett | last post by:
I am trying to use jet/access to store my data but I need some feedback from the database. I have a table that has an auto-number as a primary-key, so when I insert a post into the table the ID...
1
by: Laertes | last post by:
Hi! just managed to generate auto emails using Access & Novell Groupwise. My question is quite simple ... Is there a way to format 'messagetext', i.e. the body of the email you send? e.g. how...
3
by: James Alba | last post by:
Hey all, I am accessing an ms access database using .NET and C#. Like so, /* Create the database connection. */ connection = new OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data...
1
by: Craig Addleman | last post by:
How do I use the pltcu unknown module to auto-load a return value from a select query? I'm trying to boost performance in our databases by preloading certain frequently-used variables. Ultimately...
2
by: john | last post by:
Is it true that if I split my access database in backend and frontend and I implement custom auto increment for the ID fields, that my database is ready to be used in a multi-user environment? I...
13
by: S.Dickson | last post by:
I had an access database that i use as an ordering system. I have a form for entering customer details. When i add a new customer on the form the customer number is an auto number that appears when...
2
by: des-sd | last post by:
Access Experts, Please help! I have looked through ref. manuals, Google Groups on "Auto Populate", and I am still lost. Problem #1 My DB is 2 relational tables of (1) sales transactions of,...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.