VFP Report writer preview.
Posted on 2011-02-17
I am trying to print data from a memo field. I use MEMLINES() and MLINE() to put the data into an array.
The report has 60 fields and the EXPRession refers to the corresponding array element.
After 60 lines are processed, the page is printed and the array is cleared.
I recently had to work with a file created by another user. If I print from the preview screen it works fine. If I print directly to the printer, all I get is a blank page. No fileds, no labels: just a blank page.
I don't know for a fact that the memo was created within vfp with an EDITbox. It may have been done in a word processor and imported. There may be some odd characters that are causing this. I can view the file for strange characters, but I don't know what to look for.
I packed the file by COPYing to TempFile, ZAPing and APPENDing FROM TempFile. No help, but the size reduced from 211,136 to 13,696 bytes.
I'm sorry I don't have more info, but any insight will be helpful.