Page 1 of 1
Report Checker integration
Posted: Wed Jan 15, 2014 1:56 pm
by ajoos
Hey! Is there a way to emit own error messages into the Designer's report checker? We have, for example, created own datasources that can have an error in the definition. I would like inform our Designer users about such cases in the Report checker. How to do that? Thanks & Greetings, Andry
Re: Report Checker integration
Posted: Thu Jan 16, 2014 7:37 am
by Alex K.
Hello,
Yes, it is possible.
Please check the following code and sample in the attachment.
Code: Select all
var list = Stimulsoft.Report.Check.StiCheckEngine.Checks;
list.Add(new Stimulsoft.Report.Check.StiMyDataSourceCheck());
Thank you.
Re: Report Checker integration
Posted: Thu Jan 16, 2014 8:17 am
by ajoos
That's great, thank you Aleksey for this example. I will try to implement it right away.
Re: Report Checker integration
Posted: Thu Jan 16, 2014 8:25 am
by Alex K.
Hello,
Let us know if you need any additional help.
Re: Report Checker integration
Posted: Thu Jan 16, 2014 2:18 pm
by ajoos
Hi Aleksey. No additional help needed - my implementation works perfectly. Thank you for posting the example.
Re: Report Checker integration
Posted: Fri Jan 17, 2014 7:30 am
by Andrew
Great!
Have a nice day and coming weekend!