CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> General/Other

 Borders for blank values in report grid

Print topic Send  topic

Author Message
janet

Posts: 2
Posted: 11/15/2006, 4:17 PM

I am trying to use a report grid to display data in which some values are blank. All works fine except that the border on the blank cells does not display with the same color as for cells that do contain data. I've gone through the style sheets pretty thoroughly and have not been able to solve this problem.

Can anyone help?

Janet
View profile  Send private message
wkempees


Posts: 1679
Posted: 11/15/2006, 4:29 PM

Yes,

Your 'blank' values are real blanks and are therefore not displayed.
You should replace 'blanks' by non-blank-spaces
   
These do also not display but generate a 8-) non blank space.

In Report Builder Step (CCS3.1)
Step 7 of 9 (ST Voyager's best looking character)
Pane: Features to include, check Non-breaking space in empty cells

Thats the solution using the Builder.
If need to change in an already generated or build report:
in the properties of your report label, find:
Text If Empty
set it to
Text If Empty :
 

Et Voilá

Walter






_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)

if you liked this info PAYPAL me: http://donate.consultair.eu
View profile  Send private message
wkempees


Posts: 1679
Posted: 11/15/2006, 4:30 PM

The grey area's in my previous post should contain

& nbsp ;

! remove the spaces !

Walter

_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)

if you liked this info PAYPAL me: http://donate.consultair.eu
View profile  Send private message
wkempees
Posted: 11/15/2006, 4:39 PM

test
 ' '

janet

Posts: 2
Posted: 11/15/2006, 4:49 PM

Thanks for the help Walter! I've got that to work - but was trying to avoid having to go and do that for every label in my grid (am very new to CCS and did not notice that I could set that up when using the Report Builder!!)

I was hoping that I could chang ethe styles or something so that the table can display a blank cell with the same borders as for non-blank cells - surely that should be possible, but I haven't achieved it yet?!

Janet
View profile  Send private message
wkempees


Posts: 1679
Posted: 11/15/2006, 5:03 PM

Janet,
Do not avoid thg described method, and use the option in the builder in the future.

Style sheet will not (at least not easily) help you out.
A blank is a blank is a blank and will always be a blank.

If you want another method, then it would be in the SQL, but that is a whole other story.

One of my favourite statements is:
"If you spent a lot of time achieving a goal in CCS, throw the page away and rebuild it."
applying all that you learned the first time around, achieving the desired result in the process and maybe even learning more.

Glad you could use the solution though.

GMT +1, so 02:00, and signing off
Walter


_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)

if you liked this info PAYPAL me: http://donate.consultair.eu
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.