Measure record filtering

Discussion forum for PivotCube VCL users. Common questions. Bug and problem reports

Moderator: Alex Zencovich

Measure record filtering

Postby Guillaumep » Tue Jul 18, 2006 4:17 pm

Hello,

I'm trying filtering measures by own code but can not success.

How can I use TMapMeasure.*RFilter* properties ?

Thank you for your help,

Guillaume
Guillaumep
User
 
Posts: 13
Joined: Tue Jul 18, 2006 11:19 am

Postby AlexZencovich » Tue Jul 18, 2006 4:30 pm

You need to set Measure.Low(Top)RFilterValue to Value and set correpsonding Low(Top)RFilterType to True

call TPivotMap.RefreshData after all
Best regards,

Alex Zencovich
-------------------------------------------------------------------------------------------------------------------------------------------
www.pivotcube.com - OLAP solution for Delphi, C++ Builder and ActiveX environment
AlexZencovich
Site Admin
 
Posts: 580
Joined: Sun Jun 18, 2006 10:09 am

Postby Guillaumep » Wed Jul 19, 2006 12:26 pm

Hello,

Thank you very much for your answer. This method works fine.

I've send you directly by email a program showing test results about filtering because it seems there is a few bugs.

Best regards,
Guillaume
Guillaumep
User
 
Posts: 13
Joined: Tue Jul 18, 2006 11:19 am

Postby AlexZencovich » Wed Jul 19, 2006 2:17 pm

Only one bug I found - measure sub-buttons does not moved to filtered color if filter was set from TPivotGrid's own measure manager.

I'll check that bug
Best regards,

Alex Zencovich
-------------------------------------------------------------------------------------------------------------------------------------------
www.pivotcube.com - OLAP solution for Delphi, C++ Builder and ActiveX environment
AlexZencovich
Site Admin
 
Posts: 580
Joined: Sun Jun 18, 2006 10:09 am


Return to PivotCube VCL

Who is online

Users browsing this forum: No registered users and 4 guests

cron