Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Compressing memo field value
Message
From
11/08/2009 08:54:44
 
 
To
11/08/2009 02:26:02
Hong Yew
People Quest
Malaysia
General information
Forum:
Visual FoxPro
Category:
Client/server
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01417253
Message ID:
01417296
Views:
51
>Hi all
>
>My app is VFP9 on MSSQL database.
>
>I store contents of text files in memo field of a table using APPEND MEMO myfield FROM txtfile OVERWRITE
>
>I need to find out how I can compress a text file so I can store the compressed file into the memo field so that I can improve my app performance when I retrieve data from the table containing the memo field.
>
>Your advice much appreciated
>
>Thanks & Best Regards

I agree with using the vfpCompression.fll. But from experience I had a few problems. First, the resulting compressed string cannot be writen out to a file directly. It does not have the needed header to allow zip-type application to recognize it. It can only be managed with the utility itself. Second, when we used it excessively, we started to experience C5 errors. There appeared to be a memory leak occuring. Now, with hope, these issues have been addressed in the last few years, and the current version is more stable. Sorry, just speaking from experience.
Greg Reichert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform