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.
|
|
|
 |
|