PC Review


Reply
Thread Tools Rate Thread

Send Object Macro

 
 
Guest
Posts: n/a
 
      15th Jan 2004
I am currently trying to set up an email reminder in
access using the sendobject function in access. Right now
I have a form with 46 different entries with each entry
having about 16 fields. What currently happens right now
is that it goes through the 46 records and for a specified
field if the date entered in the field = todays date sends
out an email containing the form. However the form that
gets sent contains all 46 records. I am trying to apply a
filter that will only select the record which contains the
field that matches the condition and then email just that
one record. I have tried an apply filter function already
and recieved an error message. Any help would be greatly
appreciated
Thanks
 
Reply With Quote
 
 
 
 
Steve Schapel
Guest
Posts: n/a
 
      15th Jan 2004
Anon,

You should be sending out a report, not a form. And have the report
based on a query, and in the criteria of the query, refer to the
current record on the form, using syntax such as
[Forms]![NameOfForm]![YourPrimaryKeyField]

- Steve Schapel, Microsoft Access MVP


On Thu, 15 Jan 2004 10:11:08 -0800,
<(E-Mail Removed)> wrote:

>I am currently trying to set up an email reminder in
>access using the sendobject function in access. Right now
>I have a form with 46 different entries with each entry
>having about 16 fields. What currently happens right now
>is that it goes through the 46 records and for a specified
>field if the date entered in the field = todays date sends
>out an email containing the form. However the form that
>gets sent contains all 46 records. I am trying to apply a
>filter that will only select the record which contains the
>field that matches the condition and then email just that
>one record. I have tried an apply filter function already
>and recieved an error message. Any help would be greatly
>appreciated
>Thanks


 
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
copy object or export object, can't open object laavista Microsoft Access 5 28th Jun 2009 04:50 AM
using send object to send a specific record in a report =?Utf-8?B?QmFycnkgUGhpbGxpcHM=?= Microsoft Access Form Coding 0 11th Apr 2005 11:17 PM
Programmatically detach object in unbound object frame to a bound object frame Haiyan Chen Microsoft Access Form Coding 0 4th Mar 2005 03:51 PM
Programmatically detach object in unbound object frame to a bound object frame Haiyan Chen Microsoft Access Form Coding 0 4th Mar 2005 03:47 PM
Send Object to send e-mail Ceedy Microsoft Access Macros 6 6th Oct 2004 12:13 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:52 PM.