CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 Reusing a lable on the same page or form

Print topic Send  topic

Author Message
dhodgdon

Posts: 80
Posted: 09/30/2005, 2:13 PM

It is possible to define a single lable and use it multiple times on the same page or form? My desire is to assign a lable (let's call it city) a value from a table not associated with the page or form using CCDLookup(). I then want to use that label multiple places in the form or page when I want to reference that city.

CCS converts multiple instances of a lable with the same name to text.

Thanks in advance for any assistance.
_________________
Regards,
David Hodgdon
View profile  Send private message
Benjamin Krajmalnik
Posted: 09/30/2005, 3:38 PM

I believe you should be able to do this, since it is merely searching for
{Label} and replacing it with a value.
In my applications, I allow the user to select a theme. I did this by
modifying the themes such that the theme name was removed from the css class
names. My include of the stylesheet is {Theme}\Style.css.

I then went into template.asp, modified LoadTemplate to by adding the
following as the last line:

Setvar "@Theme", MyTheme

Since it works by calling it from within LoadTemplate globally for the page,
I believe it should work fine.

dhodgdon

Posts: 80
Posted: 09/30/2005, 7:25 PM

You lost me with the discussion of modifying a theme???

Also, as I said in the original description, CCS is converting multiple instances of a label to text which has the name of the label. Only the original label declaration remains a label.

_________________
Regards,
David Hodgdon
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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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