Solved

Send a report using Access Runtime by mail.

Posted on 2004-10-05
3
192 Views
Last Modified: 2010-05-18
I succesfully developed an application using access 2000 and installed on my en user machine using
access run time 2000 however when they create a report they want to send it by mail.

And the only option they have is to print it to a printer.
Is there a way to enable the  following commands in ART?

FILE -> Send to
FILE-> Export
0
Comment
Question by:TOPIO
  • 2
3 Comments
 
LVL 10

Author Comment

by:TOPIO
ID: 12231305
Programatically I tried to change the code by using
docmd.transferspreadsheet  acexport, acspreadsheetTypeExcel9, "RPT_TopRespiratory", "c:\temporal\temporalfile.xls"
but this method only works for a table and I have all the information in a query
0
 
LVL 41

Accepted Solution

by:
shanesuebsahakarn earned 500 total points
ID: 12232313
The SendObject command can be used to send a report - but try to avoid it unless absolutely necessary.

You could also create a right-click (shortcut) menu for the report which has the send to and export options on it, and make that into the report's shortcut menu.
0
 
LVL 10

Author Comment

by:TOPIO
ID: 12232384
I ended up using
DoCmd.OutputTo acOutputReport, , acFormatRTF
this will output the current report to a word file and you can
do wathever is necesary with that
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
What’s inside an Access Desktop Database. Will look at the basic interface, Navigation Pane (Database Container), Tables, Queries, Forms, Report, Macro’s, and VBA code.

740 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question