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 Footer Events

Print topic Send  topic

Author Message
kwallenbeck

Posts: 3
Posted: 02/02/2004, 4:51 PM

Please take a look at the following. I think what is happening is that this is the footer file and because of that the MyCode object is created in the common include which the footer include does not have access to yet while trying to run this code. If this is correct. What can we do to get around it? Can we create the object ourselves? If so where is it and what is it called?

Thanks:)

footer_events.asp

<%
Function Footer_BeforeShow() 'Footer_BeforeShow @1-A7B54936

'Custom Code @2-73254650
' -------------------------
Dim CustomFooterBlock
Set CustomFooterBlock = Tpl.Block("MyCode")
If CInt(Session("IsMaster")) = CInt(1) AND Session("GroupID") <> "" Then
CustomFooterBlock.Variable("IsMaster") = "test"
CustomFooterBlock.Parse ccsParseOverwrite
Else
'CustomFooterBlock.Variable("IsMaster") = "test"
'CustomFooterBlock.Parse ccsParseOverwrite
End If

' -------------------------
'End Custom Code

End Function 'Close Footer_BeforeShow @1-54C34B28


%>

Error on Pages


Microsoft VBScript runtime error '800a01a8'

Object required: 'CustomFooterBlock'

/admin/Footer_events.asp, line 9

_________________
Kevin Wallenbeck
fltgroup.com / hesonline.com
View profile  Send private message
peterr


Posts: 5971
Posted: 02/02/2004, 11:00 PM

Please try to keep the forums "clean" by posting to the appropriate forums. This will also help you find other users who possibly can answer your questions. Since this looks like an ASP programming issue I recommend posting to ASP Forum.

_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
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.