473,400 Members | 2,145 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,400 software developers and data experts.

Datareport with NO datasource specified

Jay
Is there a way to print a report with NO datasource specified? I need to
print a blank worksheet for my client. (well with some shapes and lines on
it)

This is the code that causes an Invalid Data Source message box to appear.

What am I missing?

Case "Worksheet"
Set DRReport = New drBlank

Set DRReport.DataSource = Nothing

DRReport.Show

ThankYou!


Jul 17 '05 #1
1 4645
I dont believe so, to show customers you may want to print with a one blank
record in your recordset.

--
Stéphane Richard
Senior Software and Technology Supervisor
http://www.totalweb-inc.com
For all your hosting and related needs
"Jay" <ja**********@hotmail.com> wrote in message
news:iR*****************@news1.central.cox.net...
Is there a way to print a report with NO datasource specified? I need to
print a blank worksheet for my client. (well with some shapes and lines on
it)

This is the code that causes an Invalid Data Source message box to appear.

What am I missing?

Case "Worksheet"
Set DRReport = New drBlank

Set DRReport.DataSource = Nothing

DRReport.Show

ThankYou!


Jul 17 '05 #2

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

Similar topics

2
by: berthelot samuel | last post by:
Hi everyone, I am currently trying to write a report based on a View of SQL Server. Basically, I have 3 tables : Hardware, SoftwareInstalled and Software with SoftwareInstalled that keeps track of...
0
by: Jay | last post by:
It seems that every time I instantiate a new datareport and then call the show method the memory usage on my machine goes up but when I close the form the memory usage does not go down. Then every...
6
by: pramodrepaka | last post by:
hi this is pramod i am facing a small problem Private Sub Command_Click() Dim a As String a = InputBox("enter empno") If rs.State = 1 Then rs.Close rs.Open "select * from microbiology...
1
Ali Rizwan
by: Ali Rizwan | last post by:
Hi all, I want to connect my datareport to a dataenvironment programatically. And i m using this code for this purpose but it does not working with an error. DR.DataSource = "DE" DR.DataMember...
1
by: sleith | last post by:
Hi, i'm trying to make DataReport with VB 6. But got Run-time error '13': Type mismatch. Here is my code: Private Sub cmdGenerateReport_Click() Dim conString As String conString =...
3
dnb
by: dnb | last post by:
How can we display a particular number of records in a datareport on one page? Any code for that or we have to set any property of datareport in VB? Thanks in advance.......
2
by: hussainiyad | last post by:
Dear all , I,m working with small invoice project and i need the report for 1.Purchase Order 2.SalesInvoice 3.Total stock, so created 3 dataenvironment and 3 DataReports and i created the...
1
by: MaryKJolly | last post by:
I got this sample project from a website. But there is some syntax error in the statement which contains the CDate function. I can't detect the error? Can enybody help me? SUMMARY This article...
3
by: firoz ahmed | last post by:
can anybody tell me how should i generate serial no in datareport i have written a code for retrieving rows from a table . but i want it should generate sr no also . suppose SRNO PRODUCTNAME...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...
0
tracyyun
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...

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.