CharleyDC5 Posted October 31, 2008 Share Posted October 31, 2008 Hi folks,Hope you are doing fine.Here is my problem : I work on a report containing a crosstab. That crosstab is populated by a SQL query runned in a dataset. Everything's perfect, but I only have one tiny problem, which is quite annoying. I am unable to hide/remove a full blank line in my crosstab (see the screenshot for more information).Some will probably say : Why are you adding a blank record in your query results ? Answer : Well, this is a specific situation. I will try to make it easy to understand. Here we go :For instance you have a list of laptops in a crosstab. You will need a row group on the serial number, and a column group on the laptops brands.Let's say you want to list all laptops in a region, for every location/office.• Office A only has HP and Dell laptops• Office B only has HP and Lenovo laptopsThe problem : You want to show all laptop brands, even if a location doesn't have that laptop brand. (see the second screenshot/image for more information). To achieve it, I add a NULL record in my SQL temp table, representing laptop brands that are missing in the office.Example : Office A has a NULL record with the Lenovo brand, and Office B has a NULL record with the Dell brand.This is the only way I found to always print all the columns in the crosstab. Otherwise, the crosstab wasn't showing the NULL columns since it is not available in the SQL query results (raw data).I just want to hide that null row and eliminate the spacer it creates.Every field in the crosstab details has Remove Line When Blank checked. As you can see, the line has nothing printed. Now, I just need to hide it for esthetic purpose.Thank you in advance for helpCharles M. Link to comment Share on other sites More sharing options...
CharleyDC5 Posted October 31, 2008 Author Share Posted October 31, 2008 Attachments doesn't work. You can find them here : http://www.charlesmorin.info/ireport_screenshot1.jpghttp://www.charlesmorin.info/ireport_screenshot2.jpgThanksCharles M. Link to comment Share on other sites More sharing options...
sivaaa Posted November 3, 2008 Share Posted November 3, 2008 Hi,Try to use Stretch Type as "Relative to band height". Cheers,Sivaaa Link to comment Share on other sites More sharing options...
CharleyDC5 Posted November 3, 2008 Author Share Posted November 3, 2008 Just tried it and it doesn't work :(Well, it was already set to : "Relative to band height".Any other possible solution ? Thank you very much Sivaaa for your helpCharles Link to comment Share on other sites More sharing options...
remmy412 Posted September 5, 2010 Share Posted September 5, 2010 Never any resolution to this? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now