![]() |
SelectBlock ASSERT |
Post Reply ![]() |
Author | |
znakeeye ![]() Senior Member ![]() ![]() Joined: 26 July 2006 Status: Offline Points: 1672 |
![]() ![]() ![]() ![]() ![]() Posted: 10 May 2008 at 10:55am |
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?
|
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
Just replace
int count = GetRecords()->GetCount();
to int count = GetRows()->GetCount();
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
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 |