>I have an app that updates insurance plans. I store some general notes about each plan in a memo field. This field usually contains 7 or 8 small sentences. My problem is that when I populate this information (one sentence at a time) for thousands of plans the memo field bloats to >330 mb. After packing the memo (and 10 minutes) it goes down to 50mb. I'm worried about users running out of disk space. Is there a way to reduce this without stopping in the middle of the routine and doing a pack memo? I update the memo fields with the following code:
>
>REPL myMemo WITH ALLT(myMemo)+CHR(13)+cNewLine IN myTable
>
>I have also used the ADDITIVE reference:
>
>REPL myMemo WITH CHR(13)+cNewLine ADDITIVE IN myTable
>
>This gives no relief to the file size issue.
>
>TIA,
>Marcus.
There is an article on my website that describes memo bloat. However, you should build the entire string in memory then only do one Update/Replace on the memo field. You could also see what Blocksize is set to (SET BLOCKSIZE). This may help.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer