CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeCharge.Discussion

 SetVar - ?? use in template

Print topic Send  topic

Author Message
Alice
Posted: 03/25/2003, 4:46 PM

CC2.05, ASP, with templates:

1. Following closely articles on gotocode I have in header of a page:
Show me {memvar}

2. In the Open Event of the page I fill the variable with some content:
SetVar "memvar", "display me this comment"

3. When run ,this error occurs:

Error Type:
Microsoft VBScript runtime (0x800A01A8)
Object required: 'ParsedBlocks'
/test/TemplateObj.asp, line 65

What must I do to seed and display a variable??

Thanks,
Alice

cornwell
Posted: 03/26/2003, 12:53 PM

You wont get it work from page header but it's OK if you put the event code
in form header. The output can still go in the page header section.
When you read the asp code generated you'll see the template is not loaded
until after the page open event, so the setvar call bombs beacuse the other
functions aren't loaded yet.


"Alice" <keijen@ozemail.com.au> wrote in message
news:b5qt9v$oai$1@news.codecharge.com...
> CC2.05, ASP, with templates:
>
> 1. Following closely articles on gotocode I have in header of a page:
> Show me {memvar}
>
> 2. In the Open Event of the page I fill the variable with some content:
> SetVar "memvar", "display me this comment"
>
> 3. When run ,this error occurs:
>
> Error Type:
> Microsoft VBScript runtime (0x800A01A8)
> Object required: 'ParsedBlocks'
> /test/TemplateObj.asp, line 65
>
> What must I do to seed and display a variable??
>
> Thanks,
> Alice
>
>


   


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.