Normal Topic Can @PrintAReport open an MS Works Processor File? (Read 457 times)
tcgeo
Full Member
***
Offline



Posts: 278
Location: Traverse City, Michigan
Joined: May 13th, 2008
Can @PrintAReport open an MS Works Processor File?
Jun 12th, 2008 at 3:09pm
Print Post Print Post  
I’ve been using this: @PrintAReport("ReportName",REPORT_MODE_HTML, PRINT_ORIENTATION_PORTRAIT, 0, -1, -1, -1, -1, -1, -1)  successfully to open a report in a Word document on a computer running XP.

Is there a way to get @PrintAReport to work the same way with a Microsoft Works Word Processor document on a computer running Vista SP1?

Thanks.
  
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Can @PrintAReport open an MS Works Processor F
Reply #1 - Jun 12th, 2008 at 3:25pm
Print Post Print Post  
@PrintAReport returns the name of the file it generates. You can then use CreateAProcess, @ASynchShell or @Shell to open that file in whatever program you want. You canuse the new report mode - REPORT_MODE_HTML_GENERATE - to just generate the file without actually printing it out or opening it in your browser.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
tcgeo
Full Member
***
Offline



Posts: 278
Location: Traverse City, Michigan
Joined: May 13th, 2008
Re: Can @PrintAReport open an MS Works Processor F
Reply #2 - Jun 12th, 2008 at 3:31pm
Print Post Print Post  
Thank you, I'll give it a try.
  
Back to top
IP Logged