Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to get page break correctly on a txt file when the report is saved 1

Status
Not open for further replies.

diem

Programmer
Jul 25, 2001
28
0
0
US
Hi everyone,

I'm having problem with the report when save it to a text file. The page breaks on the txt file are messed up. Does anyone know a way to control the report so that each page on the report is one page in txt file? I'm using the command "report form xx.frx to file ascii" to save the report. There's also some grouping that I use in the report. Any help is appreciate. Thanks
 
Hi the report form .... command uses the default printer driver information. SO it will give the page breaks as per the default printer driver.

SO select the printer in which you will be printing and then give the REPORT FORM myForm TO FILE myFile ....
without including ASCII.

Including ASCII ....
The number of columns and rows on each page in the ASCII text file is determined by the contents of the _ASCIICOLS and _ASCIIROWS system variables. The default values for _ASCIICOLS and _ASCIIROWS are 80 columns and 63 rows respectively. These values correspond to a standard portrait page. So if you set these values correctly to suit your ituation, the print out will come correctly.

Also any boxes/circles etc. wont get reported correctly.
Hope this helps. ramani :-9
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top