Memo fields that are in Report Designer do not stretch even though the "Stretch with overflow" check box is selected in Visual FoxPro 8.0 and earlier versions (248315)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
- Microsoft Visual FoxPro for Windows 7.0
- Microsoft Visual FoxPro 8.0
This article was previously published under Q248315 SYMPTOMSMemo fields in reports created in the Report Designer do not stretch even though the "Stretch with overflow" checkbox is selected in the Report Expression dialog box for the field.
CAUSE
If the report was made to be a multiple column report and the Print Order was changed from vertical to horizontal and then back, this behavior occurs.
RESOLUTION
If you are comfortable with opening the report .frx file as a table, the following steps can be used to fix the report. Assume the report is named Myreport.frx.
- Make a backup copy of the .frx and .frt files.
- Issue the following commands from the Command window:
USE myreport.frx
BROWSE - Look for records that have a nine in the objtype field and replace true values in the objtype field with false:
REPLACE ALL plain WITH .F. FOR objtype=9
- Close the Browse window and the .frx file.
- Open the report and try previewing it. The memo fields should now stretch.
Modification Type: | Major | Last Reviewed: | 2/18/2005 |
---|
Keywords: | kbDesigner kbpending kbprb kbprint kbReportWriter KB248315 |
---|
|