June 2007 - Posts

Rich TextBox in SQL Server Reporting Services 2008

I'm attending a session about SQL Server Reporting Services 2008 where I've seen one of the mostly wanted missing features of previous versions of Reporting Services: it is the Rich TextBox component, that can embed placeholders to compose text with data producing reports for contracts and documentation.

The RDL still maintain a complete separation between text and data (and formatting!) so it is a nightmare to write by hand (but I don't know anyone designing reports in RDL) but very good for a report designer to manage. Some more issue if you already have your own format for a "mail merge" text, because you have to parse your text and covert it into a more structured RDL, but it shouldn't be so hard to do.




Cross-posted from SQLBlog! - http://www.sqlblog.com


SQL Server 2008 (Katmai) CTP June is available

With a strange move, today Microsoft released Katmai SQL Server 2008 CTP June without making a single word about this during the keynote of Bob Muglia. Why they waited the TechEd to make this announcement without highlighting the CTP availablility during the keynote is an unanswered question for me!




Cross-posted from SQLBlog! - http://www.sqlblog.com


Developing a customized reporting solution based on SSRS

TeoLachevSession I just attended the session named "Applied Microsoft SQL Server 2005 Reporting Services" held by of Teo Lachev . Teo developed a complex solution that allow an end user to build its own reports with financial data, using Reporting Services as a back-end engine but defining its own custom report designer. While someone may object that there is not so much flexibility in report definition with this solution (you have several constraint in report designer), it could be appreciated by the many existing users that only want to say what data want to see into a report, while they didn't care much about possible layout customization. In reality the report looks very good for that kind of users.

The interesting part is that Teo developed an object model to abstract the underlying RDL that simpliefies an application that needs to deal with such a format. That model persist RDL through XML serialization and (as Teo hope) it would be useful if Microsoft would publish an "official" object model upon RDL.

Teo also showed other techniques he used in his solution, like retrieving data using CLR stored procedures, subclassing Report Viewer control to implement best practices and rules and finally how to extend reports with custom code (i.e. to use particular formats for numeric values based on locale of the user executing the report instead than a fixed format defined for the report - not a usual case, but if you need it... it's useful to centralize all that logic in a single assembly).

It's interesting to see a completely different approach like this using Reporting Services 2005.




Cross-posted from SQLBlog! - http://www.sqlblog.com