SelectBlock ASSERT |
Post Reply |
Author | |
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Posted: 11 May 2008 at 1:43am |
Just replace
int count = GetRecords()->GetCount();
to int count = GetRows()->GetCount();
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
pSelectedRows->Clear();
int count = GetRecords()->GetCount(); if (count) pSelectedRows->SelectBlock(0, count - 1); That causes an assert at XTPReportRows.cpp(734).
nBlockBegin = 0
pRows->GetCount() = 144
nEnd = 199
I believe this is due to grouped rows. What am I doing wrong?
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |