|
DynamiCube gives you four options when saving a .cub file. Each one has its benefits and each has its downfalls. Make sure that you understand exactly what each method is doing so you can implement it according to your needs. DCube1.Save , The four Save methods break down like this: 0 - (Uncompressed Layout only) This will save your connection parameters to where you would be able to do a refresh on a .cub file and update any new data that has come from the data source. 1 - (Uncompressed Layout With Data) This will save your data (without totals) in the .cub file while preventing the user from doing an refresh on the data. All of the data in the cube is set in place and cannot be updated from the recordsource. 2 - (Compressed Layout only) This method will save your layout in a compressed layout. This will keep the connection parameters in an encrypted, compressed format. Using this method would ensure that it will not be accessible through an average text file, but rather display gibberish. 3 - (Compressed Layout With Data) This method is a combination of 1 (unable to refresh) and 2 (compressed and encripted). It will encrypt and compress a .cub file with all the data included. DCube1.Save "C:MyCubeFile.cub", 2 ' saves the cubes compressed layout only Related Articles: Save Option Enum
|