473,804 Members | 3,716 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to print datareport without previewing first

19 New Member
help! how do u print a datareport without showing the datareport??? u print it automatically.. ... but the format n ur data report will be printed except that u dont show it.
Mar 22 '08 #1
2 5233
debasisdas
8,127 Recognized Expert Expert
How are you trying to print the report.
Mar 24 '08 #2
VijaySofist
107 New Member
help! how do u print a datareport without showing the datareport??? u print it automatically.. ... but the format n ur data report will be printed except that u dont show it.

HI!

To Print a DataReport without showing the DataReport, Use the following Code given in below:
Expand|Select|Wrap|Line Numbers
  1. DataReport1.PrintReport False
OR

Expand|Select|Wrap|Line Numbers
  1. DataReport1.PrintReport False, rptRangeFromTo, 1, 2
All The Best


Thanks and Regards
Vijay. R
Mar 24 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
3354
by: Devesh Aggarwal | last post by:
I developed reports in Crytsal Reports 9.0 in landscape mode. When i print the same from crystal reports it prints perfectly in Landscape even if the printer setting is set to potrait by default. But when i print the same report from the application developed in VB.Net the report is printed in potrait. I need to change the default setting to landscape everytime i Print the report. Do i need to pass orientation for each report in front...
1
3727
by: Ray | last post by:
Hi all, Is it possible to print the crystal report directly in vb.net without previewing it? Thanks a lot, Ray
0
947
by: Simon Verona | last post by:
I have an third party product that can only print out (It's an active-x control forms generator that I supply the data to print on the form and it then prints). It doesn't have an active-X component for print previewing. I was wondering if anybody had any knowledge of a third party component (prefereably low-cost and certainly without a run-time licence fee) that would act as a printer but would then produce a file in a format (pdf?)...
0
3361
by: JMH | last post by:
Hi, I've seen plenty of examples of printing a windows form without previewing the data, but I was wondering if anyone knew of a way to do this on a webpage? I have a webform, reportviewer control which renders perfectly, however I need to either... redirect to the report page, print and go back to the previous page, or,
1
4727
by: Cam | last post by:
Hello, I am using vb.net 2005 with the report viewer control and the built-in reports (NOT CRYSTAL REPORTS). I have two datasets, two binding controls and two data table adapters. One complete set for production data and one complete set for development data. The report viewer fills a regular form, which when opened grabs the data for the report (based on certain parameters) The reports themselves are RDLC files. When the reports...
3
1850
by: vishwaskothari | last post by:
i want to print a datareport in 8" by 6" size. so how can i proceed? TIA regards vishwas
2
1314
by: vishwaskothari | last post by:
when i click on the print button present on the datareport there comes the runtime error. i have checked the printer it is properly installed and working with the other softwares(like MS Word) properly. wat can be the reason TIA regards vishwas
0
910
by: Manojthanal | last post by:
Hai I am making a VB Acsess project Via DSN method. How we connect this with Datareport. How we get data to Datareport from the tabe using SQL Qury. I am Working first time with data report. My project is working fine. But I Dont know how we take printout. Pls Help. With Regards Manoj Thanal
11
7343
by: Gord | last post by:
When I open a certain report, it runs some code that generates the records that will be displayed in that report. This works fine. When I go to print preview the report it appears that the code is run again? This is causing certain error problems. 1 Why does the code run for a print preview when the report already exists? 2 What command do I use in code to find out if a report (or any other object for that matter) is already...
0
9585
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,...
0
10338
jinu1996
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...
1
10323
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,...
1
7622
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
5525
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...
0
5658
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4301
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
2
3823
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2997
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.