Connecting Tech Pros Worldwide Help | Site Map

Email Invoice

 
LinkBack Thread Tools Search this Thread
  #1  
Old November 13th, 2005, 01:32 AM
DD
Guest
 
Posts: n/a
Default Email Invoice

Hi
I want to email Invoice ID1 from a list of Invoices in a datasheet

My code for printing is
strDocName = "rptInvoice"
strWhere = "[InvID]=" & Me.fsubPrintInvoice.Form![InvID]
DoCmd.OpenReport strDocName, acPreview, , strWhere

I am trying the following adjustment with the sendObject

'DoCmd.SendObject acSendReport, "rptInvoice" = "[InvID]=" &
Me.fsubPrintInvoice.Form![InvID], acFormatSNP, _
"", , , "Your Invoice....", "If you can not view the report
you will need to download the free SnapShot reader at
www.microsoft.com/downloads (Search by Keywords SnapShot)", True

And it is not working
Can anyone help or advise a better method

Regards
DD

  #2  
Old November 13th, 2005, 01:33 AM
Filips Benoit
Guest
 
Posts: n/a
Default Re: Email Invoice

"rptInvoice" = "[InvID]=" & Me.fsubPrintInvoice.Form![InvID],
See correction below
"rptInvoice", "InvID]=" & Me.fsubPrintInvoice.Form![InvID],

Filip

"DD" <david.deacon@bigpond.com.au> wrote in message
news:1412655e.0408022218.6ac3fdde@posting.google.c om...[color=blue]
> Hi
> I want to email Invoice ID1 from a list of Invoices in a datasheet
>
> My code for printing is
> strDocName = "rptInvoice"
> strWhere = "[InvID]=" & Me.fsubPrintInvoice.Form![InvID]
> DoCmd.OpenReport strDocName, acPreview, , strWhere
>
> I am trying the following adjustment with the sendObject
>
> 'DoCmd.SendObject acSendReport, "rptInvoice" = "[InvID]=" &
> Me.fsubPrintInvoice.Form![InvID], acFormatSNP, _
> "", , , "Your Invoice....", "If you can not view the report
> you will need to download the free SnapShot reader at
> www.microsoft.com/downloads (Search by Keywords SnapShot)", True
>
> And it is not working
> Can anyone help or advise a better method
>
> Regards
> DD[/color]


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,662 network members.