Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Report with memo fields that float and strech
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00178435
Message ID:
00178458
Views:
30
>Hi everyone, any suggestions on the following:
>my report is supposed to print resumes. In the detail portion of the report, I have put about 15 fields whose expressions are memo fields (experience, education, skills, languages, hobbies, etc.). These object fields float (i.e. move relative to the size of the surrounding fields), and strech with overflow causing the field to expand down the report page to display all data in the memo field.
>
>This is all good, except that the printed results are not as desired: a supposedly 2 page resume prints on 3 or more because half way through almost every page (not all) are left blank, and the report continues on the following page. However, when I put fewer fields in the report designer, sometimes it prints fine. I noticed that when in the designer, the detail portion exceeds the actual size of the 8x11 page, the printout does the mess described above. VFP5. Any ideas?

This may be a work-around for you,
could you build a routine that will create a temp detail table that will be used as primary table to drive the report. Then parse the original source memo fields.

Create a new record in the temp detail table for each segment prior to a chr(13). Ex

company dates from (chr(13))
address date to (chr(13))
city, state, zip salary (chr(13))
(chr(13))
job responsibilities: .... ... ...
normal continuation without an enter key
to allow for full paragraphs (chr(13))
(chr(13))
new paragraph...

This way, the "Company" line will be one record, "address" will be another, "city, state, zip" another, then job. This way, the band stretching can complete an entire detail item before determining the end of page and cutting you short on a page but extending the entire report.
Previous
Reply
Map
View

Click here to load this message in the networking platform