Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Page problems
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Title:
Miscellaneous
Thread ID:
00052624
Message ID:
00052647
Views:
27
>>Here is the answer to the Page Y of X question, you have to print the report twice, the first one is a dummy with no output to the printer nor the screen with REPORT FORM MYREPORT NOCONSOLE to find out how many pages there are in the report, you shouldn't release the page number variable counter so now you know the total page count to use in the real printout. The second print will be the original such as REPORT FORM MYREPORT TO PRINT NOCONSOLE.
>>
>>When you find out the aswer to the memo problem please let me know!
>>
>
>In regards to this Memo Problem... I handled this once before, but at another job so unfortunately I cant go back and look to see exactly how I did it. But the trick here is to use the MEMLINES() function inside the Report Form. From what I remember, I set the report up with a fake grouping, and I would print the memo field in its original place by embedding something like this in the memofield:
> IIF(MEMLINES(memofield)<=19,memofield," ") &&and set to remove line if blank
>
>Then I also had the memofield in a second place, after my extra or fake grouping with the following embedded in the report form field:
> IIF(MEMLINES(memofield)>19,memofield," ") &&and set to remove line if blank
>
>How did I manage the extra or fake grouping? I cant remember but I think you could do it by adding a field and setting a value based on MEMLINES() before generating the report. Hope That Helps =D)

I am wondering, why simple checking of "Stretch with Overflow" box will not solve the problem.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform