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

 Quiz Example question on SetVar

Print topic Send  topic

Author Message
Tom
Posted: 03/01/2002, 6:46 AM

Thanks Elena for the clean simple example. I think that I learn a lot of technique by looking at other people's work. I'm coming from the Cold Fusion world and I am trying to understand how you displayed the chapter and question number. I can't find anything in my limited ASP book and a web search points me to Wireless Markup Language when I search for SetVar
My assumption is that the setvar takes server variables and somehow makes them available to the client?

The before show event reads:
SetVar "ch_num", fldchapter_no
SetVar "q_num", Session("q_show")

The caption reads: Chapter # {ch_num} Question # {q_num}

Sorry in advance if this is a basic ASP question
Thanks
Elena
Posted: 03/01/2002, 7:35 AM

Tom,
I've used CC template function to populate variable value on the page. Refer to following article for more information about CC template technology.
Using HTML templates in CodeCharge: http://www.gotocode.com/art.asp?art_id=91&
Tom
Posted: 03/01/2002, 10:03 AM

Exactly what I was trying to noodle thru.
Thanks

   


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.