473,547 Members | 2,342 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Print dialog using OpenReport.... acNormal?

ARC
Hello all,

Using the following command, is there any way to get the printer dialog to
open? I most packages, when you click print, it will open the printer
dialog, however Access sends the report without the dialog. I was hoping
there would be another option, other than acNormal, but there doesn't appear
to be:

DoCmd.OpenRepor t Forms!frmOpt.Fo rm!RunName.Capt ion, acViewNormal

Thanks!

Andy

Oct 31 '07 #1
3 9810

"ARC" <PC*****@PCESof t.invalidwrote in message
news:vU******** ***********@new ssvr12.news.pro digy.net...
Hello all,

Using the following command, is there any way to get the printer dialog to
open? I most packages, when you click print, it will open the printer
dialog, however Access sends the report without the dialog. I was hoping
there would be another option, other than acNormal, but there doesn't
appear
to be:

DoCmd.OpenRepor t Forms!frmOpt.Fo rm!RunName.Capt ion, acViewNormal

Thanks!

Andy
Replacing acViewNormal with acViewPreview will open the report in preview
mode which will allow you to open the print dialog box and print the report.
Oct 31 '07 #2
On Wed, 31 Oct 2007 14:00:59 GMT, "ARC" <PC*****@PCESof t.invalid>
wrote:

You meant to say: in other packages I don't have the convenience of
printing straight to the default printer. And in Access I can still
get the print dialog: just preview the report and have the user choose
File Print. :-)

-Tom.

>Hello all,

Using the following command, is there any way to get the printer dialog to
open? I most packages, when you click print, it will open the printer
dialog, however Access sends the report without the dialog. I was hoping
there would be another option, other than acNormal, but there doesn't appear
to be:

DoCmd.OpenRepo rt Forms!frmOpt.Fo rm!RunName.Capt ion, acViewNormal

Thanks!

Andy
Oct 31 '07 #3
ARC
Well, the user's are a bit funny, they don't want to preview first! :(

Yet getting the print dialog is still a feature they want.

"ARC" <PC*****@PCESof t.invalidwrote in message
news:vU******** ***********@new ssvr12.news.pro digy.net...
Hello all,

Using the following command, is there any way to get the printer dialog to
open? I most packages, when you click print, it will open the printer
dialog, however Access sends the report without the dialog. I was hoping
there would be another option, other than acNormal, but there doesn't
appear to be:

DoCmd.OpenRepor t Forms!frmOpt.Fo rm!RunName.Capt ion, acViewNormal

Thanks!

Andy
Oct 31 '07 #4

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

Similar topics

0
2253
by: Ian | last post by:
(Sorry if I have repeated this, it did not appear the first time) I have the following code on a button. The idea is that when this button is clicked it prints several reports automatically then loops through several other reports and prints them. These reports are not sent to a printer but sent to a program called Fine Print PDF Factory...
3
7016
by: TDIOwa | last post by:
I have a report printing form (Access 97) in which I print different reports from. I have added a combo box that selects the number of copies that I want to print. Here is the rub... The following is the syntax that I use. The only problem is that I have the Database window hidden at all times and when I hit the print command button the...
10
5048
by: N J | last post by:
Hi, I am trying to get a report to print based on what ID number I type into a text box, but it just prints all records in the table :( Dim stDocName As String Dim strWhere As String strWhere = " = " & Me.
2
14107
by: Dean Slindee | last post by:
Anybody written code in VB.NET to: 1) show a print preview window of reports already written and stored in an Access 2002 database; or 2) execute the print of a report stored in an Access 2002 database? Thanks, Dean Slindee
1
1404
by: jasone | last post by:
I have various print buttons that allow the database users to print reports, the database has been created so none of the normal access background is showing, just the form. currently when the user click the 'print' function it prints the report without showing the 'print proerties' dialog box. is there any thing i can do about this, so the...
7
2177
Dököll
by: Dököll | last post by:
Hey Gang! I am at work, will attempt to make it brief:-) Looks like I am unable to print subform data results. When the subform loads with the results I want, say from 9,000 records, I get 100 + out of that. I can't seem to print just the results or preview in a report. I know I've missed something. Searched here did not find anything,...
6
9388
by: Dave | last post by:
On my form I have combo boxes. These combo boxes, after updating them, populate respective listboxes that are located below the combo boxes on the same form. I am trying to use a "generate report" button located on my form to print all of the list box values (that have been updated via selection from combo boxes) from the form to the report....
9
10210
by: apank | last post by:
I have a report that opens based on the where the office code on the form matches the office code on the report. that works fine. I have written code that sets the combo box value opens the report (acnormal), then closes report, then sets the combo box value again, opens the report and then close the report.....on and on. The combo box...
3
4933
by: mode67 | last post by:
I have one button printing 5 reports base on a Query with one criteria. It works BUT THE PROBLEM: I have to put in the date for each report so it will print. I want to put the date in once and all 5 reports prints Query: Field: Last Service Record Criteria: . Private Sub btn_prnt_rpt_date_Click()
0
7507
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...
0
7435
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...
0
7698
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7461
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...
0
6030
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3492
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...
0
3472
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1922
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1046
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.