PC Review


Reply
 
 
=?Utf-8?B?TmFuZXR0ZQ==?=
Guest
Posts: n/a
 
      12th Jan 2007
I'm guessing that this is a programming question.

I'd like to know if it's possible to have Access automatically notify some
via email after a specific field has been updated.

Is this possible?

If yes, please explain with detail because I'm still learning VBA.
 
Reply With Quote
 
 
 
 
fredg
Guest
Posts: n/a
 
      12th Jan 2007
On Thu, 11 Jan 2007 16:14:00 -0800, Nanette wrote:

> I'm guessing that this is a programming question.
>
> I'd like to know if it's possible to have Access automatically notify some
> via email after a specific field has been updated.
>
> Is this possible?
>
> If yes, please explain with detail because I'm still learning VBA.


On your form, code the control's AfterUpdate event:

DoCmd.SendObject acSendNoObject, , acFormatTXT,
"(E-Mail Removed)", , , "Changes made", "some text here", True

Change True to False to send the email without first displaying it for
editing.
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
 
Reply With Quote
 
=?Utf-8?B?TmFuZXR0ZQ==?=
Guest
Posts: n/a
 
      12th Jan 2007
Thanks Fredg, That sounds sooo easy!

"fredg" wrote:

> On Thu, 11 Jan 2007 16:14:00 -0800, Nanette wrote:
>
> > I'm guessing that this is a programming question.
> >
> > I'd like to know if it's possible to have Access automatically notify some
> > via email after a specific field has been updated.
> >
> > Is this possible?
> >
> > If yes, please explain with detail because I'm still learning VBA.

>
> On your form, code the control's AfterUpdate event:
>
> DoCmd.SendObject acSendNoObject, , acFormatTXT,
> "(E-Mail Removed)", , , "Changes made", "some text here", True
>
> Change True to False to send the email without first displaying it for
> editing.
> --
> Fred
> Please respond only to this newsgroup.
> I do not reply to personal e-mail
>

 
Reply With Quote
 
=?Utf-8?B?ZGFuZ3RoYW5o?=
Guest
Posts: n/a
 
      19th Feb 2007
Hi Fredg,
I tried this code
DoCmd.SendObject acSendNoObject, , acFormatTXT,
> "(E-Mail Removed)", , , "Changes made", "some text here", True
>
> Change True to False to send the email without first displaying it for
> editing.

but it's still display for editing. Why?
 
Reply With Quote
 
fredg
Guest
Posts: n/a
 
      19th Feb 2007
On Mon, 19 Feb 2007 11:37:15 -0800, dangthanh wrote:

> Hi Fredg,
> I tried this code
> DoCmd.SendObject acSendNoObject, , acFormatTXT,
>> "(E-Mail Removed)", , , "Changes made", "some text here", True
>>
>> Change True to False to send the email without first displaying it for
>> editing.

> but it's still display for editing. Why?


Please copy and paste your EXACT code into a reply message so I can
see it.

--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
 
Reply With Quote
 
=?Utf-8?B?ZGFuZ3RoYW5o?=
Guest
Posts: n/a
 
      20th Feb 2007
DoCmd.SendObject acSendNoObject, , acFormatTXT, "(E-Mail Removed)," &
"(E-Mail Removed)," & "(E-Mail Removed)", , "(E-Mail Removed)," & "(E-Mail Removed)",
"Blah blah", Text Message_
& vbNewLine & Text Message , False

"fredg" wrote:

> On Mon, 19 Feb 2007 11:37:15 -0800, dangthanh wrote:
>
> > Hi Fredg,
> > I tried this code
> > DoCmd.SendObject acSendNoObject, , acFormatTXT,
> >> "(E-Mail Removed)", , , "Changes made", "some text here", True
> >>
> >> Change True to False to send the email without first displaying it for
> >> editing.

> > but it's still display for editing. Why?

>
> Please copy and paste your EXACT code into a reply message so I can
> see it.
>
> --
> Fred
> Please respond only to this newsgroup.
> I do not reply to personal e-mail
>

 
Reply With Quote
 
fredg
Guest
Posts: n/a
 
      20th Feb 2007
On Tue, 20 Feb 2007 12:15:00 -0800, dangthanh wrote:

> DoCmd.SendObject acSendNoObject, , acFormatTXT, "(E-Mail Removed)," &
> "(E-Mail Removed)," & "(E-Mail Removed)", , "(E-Mail Removed)," & "(E-Mail Removed)",
> "Blah blah", Text Message_
> & vbNewLine & Text Message , False
>
> "fredg" wrote:
>
>> On Mon, 19 Feb 2007 11:37:15 -0800, dangthanh wrote:
>>
>>> Hi Fredg,
>>> I tried this code
>>> DoCmd.SendObject acSendNoObject, , acFormatTXT,
>>>> "(E-Mail Removed)", , , "Changes made", "some text here", True
>>>>
>>>> Change True to False to send the email without first displaying it for
>>>> editing.
>>> but it's still display for editing. Why?

>>
>> Please copy and paste your EXACT code into a reply message so I can
>> see it.
>>
>> --
>> Fred
>> Please respond only to this newsgroup.
>> I do not reply to personal e-mail
>>



You have incorrectly written the multiple email addresses.
Adapt this. It works for me.

DoCmd.SendObject acSendNoObject, , acFormatTXT, _
"(E-Mail Removed),(E-Mail Removed),(E-Mail Removed)", _
, , "Test", "TextMessage" & vbNewLine & "More Text", False

Note how I have 3 addresses (separated by commas) in the To argument
position but the entire argument is within one set of quotes:
"(E-Mail Removed),(E-Mail Removed),(E-Mail Removed)"

compare the above with what you had:

"(E-Mail Removed)," & "(E-Mail Removed)," & "(E-Mail Removed)
Should have been:
"(E-Mail Removed), (E-Mail Removed), (E-Mail Removed)"

The same applies with the cc and bc arguments.

--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
 
Reply With Quote
 
=?Utf-8?B?ZGFuZ3RoYW5o?=
Guest
Posts: n/a
 
      21st Feb 2007
Fredg,
Thank you for your help.
I tried the way you show me, but the email still stairing at me and not auto
send out.

note: we use lotus note, is that have anythign to do with?

"fredg" wrote:

> On Tue, 20 Feb 2007 12:15:00 -0800, dangthanh wrote:
>
> > DoCmd.SendObject acSendNoObject, , acFormatTXT, "(E-Mail Removed)," &
> > "(E-Mail Removed)," & "(E-Mail Removed)", , "(E-Mail Removed)," & "(E-Mail Removed)",
> > "Blah blah", Text Message_
> > & vbNewLine & Text Message , False
> >
> > "fredg" wrote:
> >
> >> On Mon, 19 Feb 2007 11:37:15 -0800, dangthanh wrote:
> >>
> >>> Hi Fredg,
> >>> I tried this code
> >>> DoCmd.SendObject acSendNoObject, , acFormatTXT,
> >>>> "(E-Mail Removed)", , , "Changes made", "some text here", True
> >>>>
> >>>> Change True to False to send the email without first displaying it for
> >>>> editing.
> >>> but it's still display for editing. Why?
> >>
> >> Please copy and paste your EXACT code into a reply message so I can
> >> see it.
> >>
> >> --
> >> Fred
> >> Please respond only to this newsgroup.
> >> I do not reply to personal e-mail
> >>

>
>
> You have incorrectly written the multiple email addresses.
> Adapt this. It works for me.
>
> DoCmd.SendObject acSendNoObject, , acFormatTXT, _
> "(E-Mail Removed),(E-Mail Removed),(E-Mail Removed)", _
> , , "Test", "TextMessage" & vbNewLine & "More Text", False
>
> Note how I have 3 addresses (separated by commas) in the To argument
> position but the entire argument is within one set of quotes:
> "(E-Mail Removed),(E-Mail Removed),(E-Mail Removed)"
>
> compare the above with what you had:
>
> "(E-Mail Removed)," & "(E-Mail Removed)," & "(E-Mail Removed)
> Should have been:
> "(E-Mail Removed), (E-Mail Removed), (E-Mail Removed)"
>
> The same applies with the cc and bc arguments.
>
> --
> Fred
> Please respond only to this newsgroup.
> I do not reply to personal e-mail
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Outlook 2003 does not auto poll/auto send/receive email jodie.berger1@gmail.com Microsoft Outlook Discussion 2 13th Mar 2008 07:14 PM
auto add email addresses to address book when replying a email =?Utf-8?B?QXBhY2hlMw==?= Microsoft Outlook Discussion 5 5th Feb 2006 07:38 PM
Auto Name Checking should auto select EMAIL and not display FAX =?Utf-8?B?U2xvb3BlcjI=?= Microsoft Outlook Discussion 0 4th Jan 2006 07:00 PM
In Outlook, if a rule auto-deletes an email, the new email flag i. =?Utf-8?B?T3V0bG9vaw==?= Microsoft Outlook Discussion 0 4th Mar 2005 01:21 PM
email address auto-complete populated incorrect email details =?Utf-8?B?cm9uZ2Fu?= Microsoft Outlook Discussion 7 31st Oct 2003 11:47 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:57 PM.