CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> General/Other

 custom code and deleting label and break/return line

Print topic Send  topic

Author Message
CodeChargenewbie

Posts: 114
Posted: 09/20/2007, 7:16 AM

Sorry about the title.

OK, I'm doing some custom code and I need some help. On the design page, I have a label. I don't want this label to show up at certain times; so, I went into the custom code and created a condition where if said condition is not met, the label is not displayed. So far , so good. The problem is there's still a return character or break line or something.

Basically, this is how it looks on the page:

Label1
Label2
Label3


I want to get rid of Label2 for a certaom cpmdotopm and so I do that in the custom code. Now it looks like this if the condition is not met:

Label1

Label3


I want to get rid of the row between label1 and label3 in the custom code so it looks like this:

Label1
Label3

So, how do I do this????

Essentially, how do I delete the break line or carriage return that's left over in the custom code??????
View profile  Send private message
Oper


Posts: 1195
Posted: 09/20/2007, 6:18 PM

use just 1 Label. (HTML)

and is condition met just add all string to the same variable and set to that label1

use <br> for next String line or if you dont want to change your logic

[label1][label2][label] same row but us a custom <BR> at the end of each label.
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
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.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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