Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Save an array ... into an array or collection
Message
From
11/02/2011 10:23:15
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
11/02/2011 10:06:20
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01499709
Message ID:
01499770
Views:
47
>>Save laYourArray to memo, in a cursor where you have one record for each snapshot.
>
>I have used this, and it works great.
>
>The memo tends to get large.
>If you are storing these snapshots permanently, you may want to zip/unzip them.
>I did this in an app a long time ago, and compressing the snapshots saved a HUGE amount of space.
>
>Let me put it this way: If you are using DBFs you will hit the 2gb limit rapidly even if you zip the snapshots - consider having a dbf that just stores filenames of zip files.

I thought you were storing them for the life of a document on a form, not permanently.

For permanent storage, then sure zip them. The format of save-to-memo will have one huge repeating item - the name of the array is repeated for each element, plus the 10 bytes where it stores the type etc will repeat often too. The compression ratio should be very good.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform