473,406 Members | 2,208 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,406 software developers and data experts.

Display Message if No Data Exist in a report

I need to display a message on a report if there is no data to report
Jul 30 '10 #1

✓ answered by Steven Kogan

Place this code in the report's NoData event:

Expand|Select|Wrap|Line Numbers
  1. Private Sub Report_NoData(Cancel As Integer)
    MsgBox "There is no data"
    Cancel = True
    End Sub

2 3281
Steven Kogan
107 Expert 100+
Place this code in the report's NoData event:

Expand|Select|Wrap|Line Numbers
  1. Private Sub Report_NoData(Cancel As Integer)
    MsgBox "There is no data"
    Cancel = True
    End Sub
Jul 30 '10 #2
Thanks for your help Steven!
Jul 30 '10 #3

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

Similar topics

4
by: Mike | last post by:
I'm looking to have my datagrid display my data such as: BMW MODEL Engine Color Chevy Model Engine Color etc
2
by: Michael | last post by:
Hi Everyone, I've been working on a convertion project and have several Datagrids that once filled with data, no data is displayed until I click on the + sign in the grid, then the table name. How...
1
by: Jason Chan | last post by:
Some chinese characters data (in Big5 encoding) is stored in database. I tried to display the data in an aspx but the characters cannot display correctly. I tried anything I think is related: -...
2
by: anoop | last post by:
Hello, I want to display message from .aspx.vb code behind file. I want to display data from SQL DataReader in the Message. what should I do. Thank you
1
by: mviz | last post by:
I have a RS dataset that contains XML data, but when this data is displayed on the browser it shows as a string. I need help to display this data as a formatted XML document in browser. I have...
1
by: ganesah | last post by:
hi there, i need to create a program to continously display the received binary data (2bytes) from COM 8 in a console, however I'm having problem in doing so where i do nt see any data being...
1
by: EgoSum | last post by:
Does anybody can explain in steps how can I load xml data in report and open it in reportViewer? There's a short xml example ProductSales.xml: <?xml version="1.0" standalone="yes"?>...
1
by: Joey | last post by:
Ok, so here is an RSS feed for top stories from a local news station. http://lex18.com/Global/category.asp?C=88362&clienttype=rss I need to display this data on my own website. I know ASP, but ...
3
by: STEPHENSS | last post by:
Hi, I have a crystal report that has many subreports over many pages and Iam getting the following error Unable to save data with report, the save data is incomplete generate the saved data Yes...
19
by: Mel | last post by:
I want to display custom data in some sort of control on a web page. By custom data I mean it's not in a database yet it just resides in a List Box on a different tab . I just want to display the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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...
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...
0
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,...
0
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...

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.