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

 Strange Error

Print topic Send  topic

Author Message
Rene
Posted: 06/23/2003, 3:20 AM

Errors.AddErrors DataSource.Errors
If Errors.Count > 0 Then
TemplateBlock.HTML = CCFormatError("Grid Activity_ActivityType_UseGeneral", Errors)
Else
While NOT Recordset.EOF AND ShownRecords < PageSize
CCSEventResult = CCRaiseEvent(CCSEvents, "BeforeShowRow", Me)
RowBlock.Parse ccsParseAccumulate
Recordset.MoveNext
ShownRecords = ShownRecords + 1
Wend

That is the part where i got the error line 8 here

the error says "Object required: 'RowBlock'

What could this be? Thanks in advance
Aaron J. Scott
Posted: 06/23/2003, 12:03 PM

'RowBlock' is an instance of a class TemplateBlock eg.
Set RowBlock = TemplateBlock.Block("Row")

Modify your code to include the assignment of the class as above before the beginning of your recordset manipulation.
Rene
Posted: 06/24/2003, 1:02 AM

Thanks for your reply,
I modified the sql statement and it did work, I didnt modify code. i dont know why this occured but anyway thanx :)
Aaron J. Scott
Posted: 06/24/2003, 6:57 AM

A bad or malformed SQL statement can cause an object or class that relies on the returned recordset having certain fields present, can cause the object or class to fail to initialize or be instanced.

   


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.