The .cub file does not save disabled dimensions

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

Moderator: Alex Zencovich

The .cub file does not save disabled dimensions

Postby Ericasina » Fri May 11, 2007 6:49 pm

When I open a cube and disable any dimension and save the cube as a .cub file, it does not save the data at the time I load the file, or the dimensions that I left disabled are now enabled.

Is there anyway to fix this bug?

I watting for reply[/b]
Ericasina
Guest
 
Posts: 1
Joined: Fri May 04, 2007 5:18 pm

Postby AlexZencovich » Fri May 11, 2007 9:18 pm

Please specify what you mean under "disabled dimensions"
There possible 2 ways

1. TPivotCube.Dimensions[].Enabled state
2. TPivotMap.Dimensions[].Enabled state


For (1) - dimensions which are not enabled does not used whilie cube build so they cannot be saved (and restored) from cube file

For (2) - dimensions related to TPivotMap component does not refer to cub file because their state refered to map (slice) and could not affect overall cube dimensions (each cube may have several different maps at same time)
The "Enabled" state can be saved/restored with TPivotMap.SaveToXML/LoadFromXML methods
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