Amcom Home Page

 Report builder and style issues

I started working with Report Builder today and things were going along just fine. I was making some changes to the report, and adding in a bunch of styles, then ended up with some really wierd results once i shut the reports down and tried to open them back up again.

What appeared to be happening was that items that i had set up with a style were not staying set and that the report builder was forgetting the association with style. But that turned out not to be the case.

I decided to investigate a bit more and found out the following:

if you use a value outside of a normally used default value, in my case, we were using a font size of 7 (I know, really small right?) and it's not in a defined style, when you exit the file and load it back in, it will "forget" those values.

To replicate:

create a new file, and create a text label. enter some text in there. change the font size to 7. save the file. then close the file. Open the file up, and you'll see that the size has moved back up to the default font size.... How fun!!

The work around is to define a style with the minimum size/style that you want and assign it to the text area that you define.

Summary

This is my first time working with Report Builder in Coldfusion. I remember the hype about it a few years ago when they launched it, but it looks like it hasn't lived up to the hype... in some senses it seems like it would be easier/quicker/faster/more flexible/ to just create the report in CF and the pump it into pdf.

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)

BlogCFC was created by Raymond Camden. This blog is running version 5.9.002. Contact Blog Owner