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

report contents to word file

Status
Not open for further replies.

ani77

Programmer
Oct 4, 2002
14
IN
Hello,

By referring to this section I found out that I can transfer my Report to Word format using the frx2word application.
But I am not having Word, instead can i use wordpad or free software like OpenOffice/Staroffice ?

Or is there any other alternative ??

Kindly Help.

Thank you
Ani77

 
HI

DECLARE INTEGER ShellExecute IN shell32.dll ;
INTEGER hndWin, ;
STRING cAction, ;
STRING cFileName, ;
STRING cParams, ;
STRING cDir, ;
INTEGER nShowWin

cFileName = "myFile.txt"
cAction = "open"

REPORT FORM myReportForm NOCONSOLE TO FILE cFileName ASCII

ShellExecute(0,cAction,cFileName,"","",1)

:) ramani :)
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
Hello,

Thanks a lot ramani!!
I had used this reportform to ascii method.
But some of my cols gets truncated plus i lose some text formatting too.
How can I increase my col widths ??
And no other way to transfer it to a doc file?

Your help shall be highly appreciated.

:)

ani77

 
Hi
Log into UniversalThread.com
Search for a Print2PDF file. This will help to install a free PDF writer which can hold all your formating and export the report form to PDF format. If you are doing it, you can use the above same method of shellExec to open the PDF, just after the Report is redirected.. as above .. and as sson as you finish.. you can even delete it.

Hope this helps :) ramani :)
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top