PLZ Somebody help me with email just one record...
Here is what I currently have
DoCmd.SendObject acSendReport, "RptArSheet", "Snap", "", "", "", "", "",
False, ""
It send the whole report when I just want the current record of the report....
but i dont know how to do that plz help
Thanks
Mike
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-reports/200706/1
|
|
0
|
|
|
|
Reply
|
mjquinon
|
6/22/2007 7:01:40 PM |
|
You need to filter the report in some way so that the report only contains
one record. You can either use a query for the recordsource of the report
and set criteria for the query to return one record or you can set a filter
in the report's properties.
PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications
resource@pcdatasheet.com
"mjquinon via AccessMonster.com" <u34906@uwe> wrote in message
news:74179fa1a2ae7@uwe...
> PLZ Somebody help me with email just one record...
>
> Here is what I currently have
>
> DoCmd.SendObject acSendReport, "RptArSheet", "Snap", "", "", "", "", "",
> False, ""
>
> It send the whole report when I just want the current record of the
> report....
> but i dont know how to do that plz help
>
> Thanks
> Mike
>
> --
> Message posted via AccessMonster.com
> http://www.accessmonster.com/Uwe/Forums.aspx/access-reports/200706/1
>
|
|
0
|
|
|
|
Reply
|
Steve
|
6/22/2007 7:48:27 PM
|
|
Ok, here is my set up... They input the data into a form. When everything is
all good and dandy they click a Save button. This saves prints and emails. It
prints the form fine.. I use an openform comand to do that.
Now the reason I have it email a report is because I cant send a snapshot
through form.
So now How do I add a fliter.... Should i do if Time and Date of record is
something then email
Steve wrote:
>You need to filter the report in some way so that the report only contains
>one record. You can either use a query for the recordsource of the report
>and set criteria for the query to return one record or you can set a filter
>in the report's properties.
>
>PC Datasheet
>Providing Customers A Resource For Help With Access, Excel And Word
>Applications
>resource@pcdatasheet.com
>
>> PLZ Somebody help me with email just one record...
>>
>[quoted text clipped - 9 lines]
>> Thanks
>> Mike
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-reports/200706/1
|
|
0
|
|
|
|
Reply
|
mjquinon
|
6/22/2007 8:28:45 PM
|
|
"Steve" <sorry@private.emailaddress> schreef in bericht =
news:fIVei.60$rR.7@newsread2.news.pas.earthlink.net...
> You need to filter the report in some way so that the report only =
contains=20
> one record. You can either use a query for the recordsource of the =
report=20
> and set criteria for the query to return one record or you can set a =
filter=20
> in the report's properties.
>=20
> PC Datasheet
> Providing Customers A Resource For Help With Access, Excel And Word
> Applications
> resource@pcdatasheet.com
>=20
--=20
You are *not* a resource at all !!
Stop advertising here, or get lost for another year or so...=20
http://home.tiscali.nl/arracom/whoissteve.html=20
(only this friday: 22 new visitors, 57 pageloads)
ArnoR
|
|
0
|
|
|
|
Reply
|
StopThisAdvertising
|
6/22/2007 10:21:08 PM
|
|
If you have Time and Date fields in your table, that's perfect!
Crate a query based on your table for the recordsource of your report. Make
the date field come before the Time field. Put the following in the criteria
of the Date field:
Forms!NameOfYourForm!NameOfYourDateFieldOnTheForm
Put the following in the criteria of the Time field:
Forms!NameOfYourForm!NameOfYourTimeFieldOnTheForm
In your code in the click event of the Save button, do the following in
sequence:
Save the record
Open the report
Print the report
Email the report
You should print reports, not forms!
PC Datasheet
Providing Customers A Resource For Help With Access, Excel And Word
Applications
resource@pcdatasheet.com
"mjquinon via AccessMonster.com" <u34906@uwe> wrote in message
news:74186233eab16@uwe...
> Ok, here is my set up... They input the data into a form. When everything
> is
> all good and dandy they click a Save button. This saves prints and emails.
> It
> prints the form fine.. I use an openform comand to do that.
>
> Now the reason I have it email a report is because I cant send a snapshot
> through form.
>
> So now How do I add a fliter.... Should i do if Time and Date of record is
> something then email
>
> Steve wrote:
>>You need to filter the report in some way so that the report only contains
>>one record. You can either use a query for the recordsource of the report
>>and set criteria for the query to return one record or you can set a
>>filter
>>in the report's properties.
>>
>>PC Datasheet
>>Providing Customers A Resource For Help With Access, Excel And Word
>>Applications
>>resource@pcdatasheet.com
>>
>>> PLZ Somebody help me with email just one record...
>>>
>>[quoted text clipped - 9 lines]
>>> Thanks
>>> Mike
>
> --
> Message posted via AccessMonster.com
> http://www.accessmonster.com/Uwe/Forums.aspx/access-reports/200706/1
>
|
|
0
|
|
|
|
Reply
|
Steve
|
6/23/2007 12:13:33 AM
|
|
Thanks for all the help your giving me show far.
I put in what you told me and i am getting a message box that says enter
parameter Value when I try to run the query.
So when I go to print my report I get an blank page.
My form is called AR Sheet
My Date field is Date
My Time field is Time
My Report is RptArSheet
What I am thinking is that the time field is recording when you open the form
so by the time you go to send it its a different time so it sends a blank
page. What do you think?
Thanks again
Steve wrote:
>If you have Time and Date fields in your table, that's perfect!
>
>Crate a query based on your table for the recordsource of your report. Make
>the date field come before the Time field. Put the following in the criteria
>of the Date field:
>Forms!NameOfYourForm!NameOfYourDateFieldOnTheForm
>Put the following in the criteria of the Time field:
>Forms!NameOfYourForm!NameOfYourTimeFieldOnTheForm
>
>In your code in the click event of the Save button, do the following in
>sequence:
>Save the record
>Open the report
>Print the report
>Email the report
>
>You should print reports, not forms!
>
>PC Datasheet
>Providing Customers A Resource For Help With Access, Excel And Word
>Applications
>resource@pcdatasheet.com
>
>> Ok, here is my set up... They input the data into a form. When everything
>> is
>[quoted text clipped - 24 lines]
>>>> Thanks
>>>> Mike
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-reports/200706/1
|
|
0
|
|
|
|
Reply
|
mjquinon
|
6/25/2007 12:12:10 PM
|
|
ok so instesd of creating a criteria for time and Date i did it for the AR
Number and it works like a charm.(SO Far)
Thanks for your help
Steve wrote:
>If you have Time and Date fields in your table, that's perfect!
>
>Crate a query based on your table for the recordsource of your report. Make
>the date field come before the Time field. Put the following in the criteria
>of the Date field:
>Forms!NameOfYourForm!NameOfYourDateFieldOnTheForm
>Put the following in the criteria of the Time field:
>Forms!NameOfYourForm!NameOfYourTimeFieldOnTheForm
>
>In your code in the click event of the Save button, do the following in
>sequence:
>Save the record
>Open the report
>Print the report
>Email the report
>
>You should print reports, not forms!
>
>PC Datasheet
>Providing Customers A Resource For Help With Access, Excel And Word
>Applications
>resource@pcdatasheet.com
>
>> Ok, here is my set up... They input the data into a form. When everything
>> is
>[quoted text clipped - 24 lines]
>>>> Thanks
>>>> Mike
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-reports/200706/1
|
|
0
|
|
|
|
Reply
|
mjquinon
|
6/25/2007 12:23:02 PM
|
|
|
6 Replies
889 Views
(page loaded in 0.226 seconds)
Similiar Articles: Help me send an email with just one record from a report ...PLZ Somebody help me with email just one record... Here is what I currently have DoCmd.SendObject acSendReport, "RptArSheet", "Snap", "", "", "", "... Email Current Record from Form - microsoft.public.access.forms ...Help me send an email with just one record from a report ... Sending Current Data record in Form - microsoft.public.access ... Help me send an email with just one record ... scheduled send of report via email - microsoft.public.access ...Help me send an email with just one record from a report ... scheduled send of report via email - microsoft.public.access ... Help me send an email with just one record ... Sending Current Data record in Form - microsoft.public.access ...Help me send an email with just one record from a report ... Sending Current Data record in Form - microsoft.public.access ... Sending Current Data record in Form ... Send Report via e-mail group - microsoft.public.access.reports ...Help me send an email with just one record from a report ..... Post Question Groups ... Help me send an email with just one record from a report ... scheduled send of ... Send report to Excel - microsoft.public.access.reportsAny help is appreciated. > > Sorry the action ... access.reports macro to automatically send an excel spreadsheet by email ... Utf: 5/12/2010 1:21:01 PM: Header: Report as ... reports not emailing - microsoft.public.windows.server.sbs ...Help me send an email with just one record from a report ... reports not emailing - microsoft.public.windows.server.sbs ... Help me send an email with just one record from ... Emailing Current Record - microsoft.public.access.formscoding ...Help me send an email with just one record from a report ... Lock to current record - microsoft.public.access.forms filter current record with VBA ... ... View one record at a time in a report. - microsoft.public.access ...Help me send an email with just one record from a report ... View one record at a time in a report. - microsoft.public.access ... Help me send an email with just one ... Sending an E-mail From Access through Serial Email - microsoft ...Any other file type (.doc, .jpg, etc) works just fine. ... 2007 and should be running that soon. Any help ... eHow.com How to Send a Data Access Form Through Email. How to Send ... Help me send an email with just one record from a report DataBaseDataBase - Help me send an email with just one record from a report Help me send an email with just one record from a report ...PLZ Somebody help me with email just one record... Here is what I currently have DoCmd.SendObject acSendReport, "RptArSheet", "Snap", "", "", "", "... How do I... Print a single Microsoft Access record in Form View ...Send a Message ... similar to the report shown in Figure B, but it contains only one record. ... all of the records in the underlying recordset, not just the current one. Print A Single Record from a Microsoft Access Form into a Report ...... pdf of the single record and ask me to input an email address I wished to send it ... so please don't tell me to make a report. I just ... of limiting the report to one record. The ... Use a query as the record source for a form or report - Access ...This article does not explain how to create a form or a report. For help creating forms ... to the value in the matching field or fields of one, and only one, record in the ... 7/23/2012 12:43:08 AM
|