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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Saving a report to a file

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I'm attempting to save a report to a .LIS file (text-only), and the lines are being truncated to 80 characters, when I need them to expand to 132 characters. I'm calling the report from a form and sending it these parameters:<br>
<br>
ADD_PARAMETER(pl,'DESFORMAT',TEXT_PARAMETER,'WIDE180');<br>
ADD_PARAMETER(pl,'ORIENTATION',TEXT_PARAMETER,'LANDSCAPE');<br>
ADD_PARAMETER(pl,'DESTYPE',TEXT_PARAMETER,'FILE');<br>
ADD_PARAMETER(pl,'PARAMFORM',TEXT_PARAMETER,'YES');<br>
ADD_PARAMETER(pl,'MODE',TEXT_PARAMETER,'CHARACTER');<br>
<br>
I'm also sending the report to the screen and the printer, and both of those functions work. Some of the things I've tried are:<br>
<br>
* Setting the DESFORMAT sys param to 'wide' and 'wide55' (just to see if it truncates it more).<br>
* Openning the .LIS file in WordPad instead of Notepad.<br>
<br>
If anyone could help me w/ this, I'd appreciate it. Thanks.
 
Did you try to check the &quot;word wrapping&quot; options? I know it sounds like a silly question. <p>Eduard Stoleru<br><a href=mailto:aeg@ziua.ro>aeg@ziua.ro</a><br><a href= > </a><br>
 
Hi.. <br>I also faced a similar problem.<br>Could you search for the file <b>dflt.prt </b>(c:\ drive) <br>This file has some printer settings. <br>Change the printer settings in the file. <br>You wouldnt want to modify the default values, so make a copy of this file (<font color=red>eg. file.prt</font>)in the same dir and change the values there. <br>In report builder, go to <b>SYSTEM PARAMETERS -&gt; DESFORMAT.</b> <br>In the property value for this.. set the <b><i>'initial value'</i></b> as the file you modified. (eg.<font color=red>file </font>).<br>Hope this helps. <br>Let us know if you are successful.<br>cheers<br>jk
 
I was looking for the solution of the same problem, and here it is!
It was very helpful,
thanks
Maryla
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top