473,790 Members | 2,617 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Email Invoice

DD
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.fsubPrintInv oice.Form![InvID]
DoCmd.OpenRepor t strDocName, acPreview, , strWhere

I am trying the following adjustment with the sendObject

'DoCmd.SendObje ct acSendReport, "rptInvoice " = "[InvID]=" &
Me.fsubPrintInv oice.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
Nov 13 '05 #1
1 1896
"rptInvoice " = "[InvID]=" & Me.fsubPrintInv oice.Form![InvID],
See correction below
"rptInvoice ", "InvID]=" & Me.fsubPrintInv oice.Form![InvID],

Filip

"DD" <da**********@b igpond.com.au> wrote in message
news:14******** *************** ***@posting.goo gle.com...
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.fsubPrintInv oice.Form![InvID]
DoCmd.OpenRepor t strDocName, acPreview, , strWhere

I am trying the following adjustment with the sendObject

'DoCmd.SendObje ct acSendReport, "rptInvoice " = "[InvID]=" &
Me.fsubPrintInv oice.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

Nov 13 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
2591
by: Ian N | last post by:
Hi, I'm creating a site that posts orders to an email address when they're submitted, these orders need to be in the form of official invoices so i'm using HTML to format them. I already have a shopping basket system which adds all of the totals up and puts them into a nice looking invoice. What's the best way to take this HTML and put it into an email?
4
5534
by: JvdWal | last post by:
Hi, I've been trying the PDF & Mail Class Library from ACG Soft in combination with Northwind-2k3 style of db. Can someone help me with the error which is popping up: (which I cant get solved..) I'm trying to send a report in PDF-format with a unique QuotationID to one specific customer by Email. >> Button in a form >> quotation-report and a "filter and printfilter"- query..
3
2840
by: David B | last post by:
I am creating invoices for an app I am busy with. The transactions for the invoice come from 2 tables which store Sales and Facilities Hire. The current arrangement is that I create a temp table using append queries to get transactions from the 2 tables between selected dates. then draw these into a report grouped by the Sales and Facilities Hire This all works fine. However the customer requires invoices (reports) to have consecutive...
15
5284
by: NomoreSpam4Me | last post by:
Hi there i have a little problem with my invoice. Here it is: i have a main menu with buttons, one of my button is "Create new invoice", when click on it a form pop up so i can enter my information and one of the field (the user cannot change the info in it.) is invoice #. Right now, everythime i click on "Create new invoice", the invoice # add 1. But my problem is sometime the employee dont fill it (for x reason) and shut it down,...
1
4838
by: Herman Beeksma | last post by:
Hi there! I have two tables: Customer (ID, Name) Invoice (ID, Date, Customer, Amount) and want to select only the *last* invoice for each customer. It's easy to get each customer's last invoice date: SELECT Customer.Name, MAX(Invoice.Date) FROM Customer INNER JOIN Invoice ON Custimer.ID = Invoice.Customer
2
2160
by: rrhistory | last post by:
I have an access database with information such as name, address, item buying, cost, qty etc. This was in excel originally, but I thought Access would be the better way to create the forms I need. What I want to do is create an invoice that will combine items from one buyer and then allow me to email that invoice thru outlook. MANY years ago I did programming in dbase--but for some reason I seem to be totally lost here. I have browsed...
1
2043
by: xian2 | last post by:
Hi All, I have been using this guide http://www.compasscomputing.co.uk/code/AcceesReportsToPDFandEmail.htm to create a command button that automatically saves and e-mails your report and have tried to edit the code, as below (the original code is on his website) but get a load of error messages. There are only a few bits that need editing (about 6 or 7 little bits) but I still get loads of error messages and if anyone can help, I would...
0
1570
by: TGS | last post by:
Hi, My objective is to send out invoice statements with database mail by means of a stored procedure. There are two tables, Table1 is customer information, Table2 is invoice information. Table 1 has Account Number, Customer Email, etc.. Table2 has Account Number, Invoice Number, etc.. This is one of my failed attempts trying to use Cursors. Any suggestion on how I can accomplish this. Thank you. declare @msg varchar(2000),
4
6677
by: gazza10001 | last post by:
Hi i hope you can help my company uses access and has modified for its needs usually what happens is you serach for the invoice by its number and then it brings all the information up such as entry fields and so there is a button you press which then takes to through to a print preview of the invoice and you print out the invoice but recent ly this message ahs started appearing and does not allow you to view the print preview of the invoice...
0
9666
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9511
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10142
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9986
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7529
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6769
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5422
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3703
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2909
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.