I recently inherited an Access DB and I have been asked to modify it a little. The file extension is not the typical MDB but is ADP.
In this DB there is a report and it is called, via VBA, like this:
DoCmd.OpenReport "rptExpirationReport", acViewPreview
DoCmd.Maximize
When the window opens after this is called all the user needs to do is click the print button. This prints the entire report to the default printer. The print dialog box doesn't come up, the data just goes straight to the printer.
What I have been asked to do is reduce the amount of paper this process uses so I am going to change this to print to a PDF.
The first issue is that I don't want to change the default printer on the user's computer to print to PDF. So I need to have a way to print this to an installed PDF printer.
The second issue is that I don't know how I'd go about changing this because the Access report window doesn't have many options that I can find. I don't see a way in the VBA code to change the printing button so the user can select their PDF printer.
The last issue is that the report contains a form that is filled out with a person's information and it does this for each person. So if I print this to a PDF, there could be 50 forms that I need to separate out into individual files. The forms are generated one per record and it's just one form that gets filled out, but the form could be 2 or 3 pages, so that isn't constant.
A report can either be pointed to the default printer or a specific printer. To do this through the user interface open the report in design view and select Page Setup. Then on the Page tab Click Use Specific Printer then click the Printer Button to select your PDF virtual printer. Please see the following screenshot for an example:
http://screencast.com/t/lGnYMQm6EIj
To do this programmatically please see the following link:
http://www.access-programmers.co.uk/forums/showthread.php?t=225910
Related
I am showing report from web (angular application) through SSRS URL. It shows me output like below.
How can i show report default as print preview mode? In PDF its showing correctly but i want same view in browser.
Thanks.!!
I am unaware of any option to do this. You can schedule this report to generate the PDF to a physical location and have your customers access the PDF directly if you want to hide the SSRS interface... but a lot of people like to export tables like this to Excel.
I recommend you educate your customers how to use this interface as it is pretty useful.
We use a number of update reports that reference phone call activities amongst other data. One field that is shown in the report is the subject line of the Phone Call which automatically creates a hyper link to the Phone Call being referenced.
When the report is run using the web interface, regardless of browser, the link opens the Phone Call without an issue. However when opened from the Outlook plugin a new browser window is opened and the user is required to log in, which can make working through a report tedious.
I am aware that one solution would be to always run reports from a browser, or leaving the new browser window opened by Outlook open, as any subsequent links are opened in the same browser which is already "logged in". However, is there a way to remove the requirement for the first log in entirely? Could the link created in the Report have to log in credentials embedded so to speak?
Is there a way to develop a SSRS report with a link which opens an attachment(PDF,DOC,DWG,JPEG etc) which is stored in the server database.
The action tab in the text box properties is probably going to be the most helpful to you. In there you can have it go to another report which could contain the document you want or if you have it stored in some URL, that works as well. The action happens when they click on the text box.
I am trying to build a pop up zoom box which will be activated on a report embedded in a form allowing the user to click on the report and view a field on the underlying table which the report is demonstrating. Furthermore, the user will also have the opportunity to edit the fields contents which the zoom box, upon closing will then paste into the field in the underlying table.
A colleague of mine confirmed for me that this is possible and put me on the right track by showing me that it is possible to extract a field by creating a control on a report. However, i am missing the part to repaste the updates into the underlying field.
Being a report, Sift F2 does not allow the edit..
I would appreciate any advice available.
Thanks,
A
Fantastic effort given by HansUp in live chat directing me to exactly what i needed!
DoCmd.OpenForm "frmZoom2", WhereCondition:="[ID] = " & Me.txtPrimaryKey
Hopefully this will be pretty simple! I've googled around but apparently I'm the only person in existence with this issue. When I go to Export my report as a PDF, a dialog box opens that only has options for Save and Cancel. I want either:
An Open option on that window so the report opens in whatever PDF viewer
The report to open automatically AFTER the user saves it as whatever filename they want.
Note that I don't want it to save automatically, but provide them some option to open it AFTER they've saved it.
This is based on the users browser, and has little or nothing to do with SSRS.