![]() |
CXTPReportRecord IsFiltered not being cal |
Post Reply
|
| Author | |
Italo
Groupie
Joined: 10 December 2003 Location: United States Status: Offline Points: 83 |
Post Options
Thanks(0)
Quote Reply
Topic: CXTPReportRecord IsFiltered not being calPosted: 06 August 2004 at 2:06pm |
|
IsFiltered is only called if the report control has a filter string. This causes a problem when you’re trying to write a program that uses custom filters. I would like for IsFiltered to be called regardless if the report control has a filter string. I know that I could just set the filter string to a bogus value, but I don’t want the expense of checking all rows. The existing code in CXTPReportControl::ApplyFilter is: // not filtered if filter text is empty if (!pRecord || strFilterText.IsEmpty()) return FALSE; if (pRecord->IsFiltered()) return TRUE; Can this be changed to? if (!pRecord ) return FALSE; if (pRecord->IsFiltered()) return TRUE; if( strFilterText.IsEmpty() ) return FALSE; Thanks, Italo |
|
![]() |
|
Oleg
Senior Member
Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
Quote Reply
Posted: 10 August 2004 at 2:45am |
|
Fixed. Thank you.
|
|
|
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 |