If you look carefully at the original code, it deletes exactly that label that creates the header with the name of picture.
I've noticed another thing, at the end of the code I used a "PACK MEMO"
Just looked at the HELP, and saw that PACK MEMO does not pack the whole table. "Removes unused space from the memo file but does not remove records marked for deletion from the table"
So, pls add a simple PACK command after the PACK MEMO and retry, without using the FLUSH command.
Thanks very much for your feedback, I've already updated the code in my blog.
http://weblogs.foxite.com/cesarchalom/archive/2007/01/17/3143.aspx Cesar
>>Of course, pls send me your files
>
>After I added FLUSH to your code it worked. Looks like there is a problem in Novell.
>
>It still takes some time to print... :(