Add dimension in TPVRowToolBar or TPVColToolBar

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

Moderator: Alex Zencovich

Add dimension in TPVRowToolBar or TPVColToolBar

Postby mjdallanelo » Tue Aug 15, 2006 11:37 am

Hi

I am not obtaining to add dimensions in the TPVRowToolBar or TPVColToolBar saw code line. It sees as I am making:

PivotMap1.Columns.Add.Name: = ' Aliasname of dimension ';

When I load the application makes correctly. After loaded more it does not function.
They can help me?

Best regards
Marcos José Dallagnelo
mjdallanelo
Guest
 
Posts: 2
Joined: Tue Aug 15, 2006 11:15 am
Location: Brasil

Postby AlexZencovich » Wed Aug 16, 2006 6:53 am

Use next way

PivotMap.DImensionToColumn('MyDImension',maBottom,0); // <-- place dimension on side
.....
PivotMap.RefreshData(True); // <-- Apply changes to active slice
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 mjdallanelo » Fri Aug 18, 2006 12:48 pm

Thank you.

Best Regards
Marcos José Dallagnelo
mjdallanelo
Guest
 
Posts: 2
Joined: Tue Aug 15, 2006 11:15 am
Location: Brasil


Return to PivotCube VCL

Who is online

Users browsing this forum: No registered users and 8 guests

cron