Quantcast
Channel: SCN : Discussion List - SAP Crystal Reports, version for Visual Studio
Viewing all articles
Browse latest Browse all 3636

Paging shows "No Errors" Message

$
0
0

Hello,

Every time I have more than 2 pages on a report and perform paging I get an inner MessageBox (from ViewerCore) saying "No errors." ("Sin errores." in spanish). This issue is comming from the first release of CR 13 and installing the newest service pack (7) doesn't solve the issue.

 

I tried to track it down with RedGate Reflector and found that the message comes from a ComObject call. I reached to CrystalDecisions.ReportSource.LocalReportSourceBase

     -> Ln 283:     lastPageNumber = formatEngine.GetLastPageNumber(reqContext);

The result is that it throws an exception with the message ("No errors"/"Sin errores"). After the MessageBox it is possible to navigate to next page

 

After some hours of trial and error I finally reproduced this issue by creating a demo and I saw that the problem has a relation with creating parameters into subreports. It's important to note that I frecuently use parameters into subreports and it's not an option not to use them (some of them are formats for dates, numbers and also the report name that should be in every report).

 

On the Demo. Some specs:

The demo shows a Master/Detail report, called Customer and Purchases. Both on Details section, because I want to have more than one Customer at a time. A detail of purchases is on the subreport showing price, amount and totals. Both report and subreport related with a subreport link and also contains the same parameter (as said before this is a must for many occasions). I also put a subreport with the header that I always use for all my reports (with an image inside).

Some time ago I had an error that indicated "invalid field name" ("Nombre de campo no válido" in spanish) that ocurred when I didn't passed the parameters with each subreport name which could contain a parameter inside.

 

How to reproduce:

  • Start the app (wait for the report to show up)
  • Try to go to the third page
  • Message box appears

 

Please tell me what could be the error. My users don't accept this "No errors." message, they think it's a joke

 

IMPORTANT: Unfortunately i cannot attach my demo, so I leave the following link


Viewing all articles
Browse latest Browse all 3636

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>