_ASCIICols, _ASCIIRows
These system variables control the layout when you use the ASCII clause of REPORT FORM. _ASCIICOLS has logical, intelligent behavior, while _ASCIIROWS, by behaving the same way, is incredibly silly.
Usage |
_ASCIICOLS = nColumns nCurrentColumns = _ASCIICOLS _ASCIIROWS = nRows nCurrentRows = _ASCIIROWS |
Foolishly, in VFP 6 and earlier, _ASCIIROWS acts pretty much like _ASCIICOLS. As _ASCIIROWS increases, more space is left between rows. As _ASCIIROWS decreases, the rows are put closer together. We think this is incredibly stupid. If you increase _ASCIIROWS, it's because you want more data on the page, not more space between the data. |
In VFP 7, _ASCIIROWS is even stranger than before. You no longer get white space between rows, regardless of the setting. However, the number of rows on the page is fairly random. Things seem to work correctly until _ASCIIROWS is larger than 50. After that, it gets weird. We suspect that all they did was take out the extra rows of white space, but not let you have more rows per page. |
There was one additional bug in the original release of VFP 7 that put the page footer immediately after the detail band. That's fixed in SP1. |
Example |
_ASCIICOLS=105 && Landscape width _ASCIIROWS=48 && Landscape height REPORT FORM MyReport TO FILE Landscap.txt ASCII |
See Also |