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 3 9845
"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.
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
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
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
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 which turns them into a PDF
file (set as the default printer)
This all works perfectly unless any...
|
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
report prints but the Database window becomes visible.
DoCmd.SelectObject acReport,...
|
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.
|
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
|
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 'print properties' box is shown?
here is the sample of my print code:...
| |
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, please point me to it!
Here's a modifcation of the code:
|
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.
I've tried using a macro with the code:
Macro Name: cmdGenerateReport : On Click
Action:...
|
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 grows monthly and instead of having to keep updated the code with new office codes, I would like the...
|
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()
|
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.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
| |
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...
|
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...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
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
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |
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...
| |