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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Éric MoreauSenior .Net ConsultantCommented:
Probably because your DataMember property is empty.
0
HunterKillerAuthor Commented:
Bah ! c'mon ! Of course it's not !
0
É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
The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

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
rovermCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.