Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you get a block of text onto a report
Message
From
17/02/2000 14:25:05
Cindy Winegarden
Duke University Medical Center
Durham, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00333585
Message ID:
00333618
Views:
13
First idea: put your text in a table, even if it is a one field, one record table called ReportText. Then you can change the text without recompiling the program. Bad idea to hardcode stuff.

Second idea: What about
mText = "blah blah " + ;
"blah blah " + ;
(etc.)

Third idea: Run the report with Trace, Debug, Watch, and Locals open. Is the variable possibly out of scope?

Fourth idea: Make your variable temporarily very short (2 or 3 words) and your field very large. This will make sure you don't have size/trim problems.



>>Hi Timothy,
>>
>>I'm assuming you're using a standard VFP report form, and placing the paragraph in a character field or character variable.
>>
>>In the Report Expression dialog, make sure the "Stretch with Overflow" check box is selected. That will make certain that the text field in the report expands to encompass the contents of its expression.
>
>I created a variable in the report called "mtext". Just b4 the report prints, I have this statement:
>mtext= "Material received in this shipment was not identified in a;
> purchase order or other internal auditable document. Therefore, the;
>etc
>etc
>etc"
>then I have
>repo form somerpt to prin
>but the variable comes out "ZERO" "0"
Previous
Reply
Map
View

Click here to load this message in the networking platform