At 07:34 PM 6/15/2005, Stephen Markson wrote:

Further investigation reveals that you want the ETXT option
(report emulation). However, I can't get it to work. I tried
Razzak's FTE example (see "Printing Report as Text File" at
http://www.razzak.com/fte) and I get a zero byte file.


Stephen,

I bet you are not using the latest pre-release Update 81.

http://www.rbase.com/rbg7updates

Using the latest pre-release update 81, if a user attempts to
PRINT the report as Text File (OPTION TXT) without first having
defined the Text File Setup in Report Designer, the program will
return an -ERROR- message and not just write a zero length file.

Report Designer | File | Print to Text File Setup ...

Syntax:
PRINT reportname OPTION TXT|FILENAME filename.txt|OPEN ON

Example:

CONNECT ConComp

PRINT ColumnarReport OPTION TXT|FILENAME ColumnarReport.TXT|OPEN ON

The same enhancement applies when printing the report as Text File
using the Print to a File option from the Database Explorer.

Database Explorer | Reports | Run Report | Print Target .. File
| Type .. Text File

Enjoy and make sure to have fun!

Very Best R:egards,

Razzak.

Reply via email to