on 10-29-2015 9:24 AM
Hi all,
Intro:
I have a server which creates a crystal report (with subreport) and sets data into it.
I used 'ExportToStream(ExportFormatType.CrystalReport)' method and got a byte[] which I transfer to client via wcf.
on the client side I save the received byte[] on 1.rpt format, and load it to a ReportDocument object using 'Load()' method.
then I set it as dataSource of crystalViewer.
My bug:
I get the result with missing data.
sometimes crystal generates its own 'dummy' data (Red 1000, green 1500 etc...) and sometimes nothing is shown.
how come it happened? the byte[] size on server side (which created) and on client side (after received) is the same size.
Thank you for your help.
cheers,
Meital
If you see that dummy date it suggests you are using TTX as the data source and the data is empty.
Check the report before sending to see if it has data in it.
Don
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.