Previous () Function Not Working

Stimulsoft Reports.NET discussion
Don Brown
Posts: 6
Joined: Thu Dec 10, 2015 7:06 pm

Re: Previous () Function Not Working

Post by Don Brown »

1. Your solution works in the Report IDE but not when called from a program. When called from a program it gives the error message: "Unable to use Rport File C:\. . . \NA12.mrt. Please have its validity verified."
2. It was also throwing a 'Report Rendering' message in the IDE "Textxx Object reference not set to an instance of an object" for each text box. I changed this code from: rptNeedleAssignments.Op4_Thread != Previous (rptNeedleAssignments,"Op4_Thread").ToString() to: rptNeedleAssignments.Op2_Thread != (Previous (rptNeedleAssignments,"Op2_Thread") != null ? Previous (rptNeedleAssignments,"Op2_Thread").ToString() : null) to eliminate the error, which was caused by Nulls being returned. This corrected the Report Rendering messages.
3. The "Unable to use Rport File C:\. . . \NA12.mrt. Please have its validity verified." is still present when running the report in a live environment called by a program.

4. I can find no reference anywhere in the forum, the web or your Help documentation regarding the 'validity verified' message. I have spent many hours trying to make Stimulsoft work the way the documentation states it should work. Please tell me what is the correct answer.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Previous () Function Not Working

Post by Alex K. »

Hello,

We couldn't reproduce this bug.
Can you please send us a simple project which reproduce the issue for analysis.

Thank you.
Post Reply