ReportToText Template

Introduction
Often you may want to save report in "No frills" format - just as a text file
For instance you can save report into a text file and search it for any particular string.
Or just have an archive of all reports produced by your program.
This is what ReportToText template is for.
Main advantages of using:
  • Extremely simple. You shouldn't change any template settings
    and can control report behaviour with a few variables
  • Supports all major report templates
  • It does not need or do any changes to either Clarion native
    or 3d party templates. It's a rule!
  • Works with all major report templates: Clarion, CPCS, RPM, DAS, TIN, IceTips
  • Compatible with Clarion 5-8 ABC/Legacy
Installation
 
Run the installation wizard. It will guide you through a few simple steps. That is it.
IMPORTANT: If you are using Clarion 5-6, after selecting Clarion5-Clarion6 directory wizard
will offer you to install it into C:\Clarion5(6)\Clarion7 or C:\C55\Clarion7 directory 
respectively. So do not forget to get rid of last \Clarion7. But even if you do - it is not a problem.
Just uninstall template and run installation once again.
To start using template you have to manually register it.
Open Clarion (no application must be opened). 
Go to menu Tools (Setup) -> (Edit) Template Registry -> Register.  
Select new template rpttotxt.tpl and then hit Open button
You can find it in C:\Program Files\SoftVelocity\Clarion7(8)\accessory\template\win
for Clarion 7 and in C:\Clarion*\Template - for all others.
View animated reminder on how to do that - Registering Template
(built with our JAVA Animated Help Builder).
Using Template
You have to insert Global extension Save Report to Text first and then repeat this
routine for each report and insert respective local extension. And that is all
you have to do!
Picture above shows local template interface. These 4 variables
let you control whether to save report or not and which text file name to use
and if just created text file should be opened or not and with which program.
This template employs Generic printer driver which is shipped with all Windows OS.
So it's just a matter of few minutes to install it.
Hit the Start windows button and go Settings/Printers. Then hit Add printer button
and in Manufacturers browse select Generic. Simple, isn't it?
Clarion 6 now has very much the same feature - saving report into text. But it is
included into Enterprise version only. Besides in comparison with this template it
has some overheads. So Clarion 6 Professional users can view this template as
a cheap alternative to the Enterprise extras. Enterprise owners can find
it useful as well...
We installed this example into your /Clarion*/Examples/RptToTxt directory 
Or C:\Program Files\SoftVelocity\Clarion7(8)\Lessons\RptToTxt in C7(8).
So for various settings you can investigate the source.

Copyright (C) 2007 Vivid Help Systems Pty Ltd