CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> Archive -> GotoCode Archive

 Dynamic values (ASP with Templates)

Print topic Send  topic

Author Message
Michael
Posted: 10/02/2003, 12:06 AM

With CodeCharge I changed values of strings
which were usually not intended for.

To make for example a column name showing a dynamic
created value I set it to {colName}.
In Before Show event I set colName to a value.
The template parser is doing the work for me
because he substitutes all places in the html file
where he finds a {name} template.

Now with Studio using ASP with templates
I'm missing the right syntax the set an own
generated variable/object so that the template parser
knows about it and will substitute it
when parsing the HTML template file.

Thanks in advance
Michael
ryan
Posted: 10/02/2003, 1:18 AM

on before show event of record form

HTMLTemplate.Setvar "@yourvariable", Now()
HTMLTemplate.Setvar "@yourvariable1", request.servervariables("LOCAL_ADDR")

on generated HTML

{yourvariable}

{yourvariable1}

:)
Michael
Posted: 10/02/2003, 3:16 AM

Sorry ryan,
it had not worked for me.

What was not obvious to me is that the form Label
is the thing I need.
But usually I had used a Label on two places
where it's no longer alowed to use:
inside a link and inside a sorter.

Thanks
Michael
ryan
Posted: 10/02/2003, 4:58 PM

can i have a peek at your CCS files (arrowgance@yahoo.com)

   


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

MS Access to Web

Convert MS Access to Web.
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.