Blank Data Report

Does anybody knows why a data report comed blank after a show method, and how to solve this ?
LVL 1
HunterKillerAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
rovermConnect With a Mentor Commented:
Hunter, if you look into the table with something like SQL Server or the Query Analyzer, do you see 5 records ?

Maybe a solution: not so nice, but hack, if it works:

Add one extra record to the table before printing it.
This way (if the DR continues to fail...) the last record (the added dummy record) will not be printed but the correct records are!

By the way: do you love the DR as much as I do ? ;-)

greetinx, RoverM
0
 
Éric MoreauSenior .Net ConsultantCommented:
Probably because your DataMember property is empty.
0
 
HunterKillerAuthor Commented:
Bah ! c'mon ! Of course it's not !
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
Éric MoreauSenior .Net ConsultantCommented:
You have to set it! It is one of the designer bug (problem-feature). Even if you drag & drop fields to the report, you have to set the datamember property.
0
 
cody76589Commented:
0
 
rovermCommented:
no records availble, e.g. SQL statement (or whatever) wrong ?
0
 
HunterKillerAuthor Commented:
This is whts happening:DR is not printing the last record. If I have 5 records, it prints perfectly 1,2,3 and 4. If it has only 1 record, it comes blank. My record Source is a temp table that I fill in with the registers that I'm going to use in the report. This question is an add-on of my last q. posted here:

http://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=10266443 

Notice: by the effort, I'll give roverm the points for my old q about DR... but this one is open !

:-]

I'm getting mad with this problem...
0
 
HunterKillerAuthor Commented:
Well, the *Hack* way worked, so I must thank you again. and yEs ! I love DRs too ! Even more when they work as expected ! =]
0
All Courses

From novice to tech pro — start learning today.