` Comment on an Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Add a comment to an Icetips Article

Please add your comments to this article. Please note that you must provide both a name and a valid email address in order for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!

Your Name:  
Email:  
Header text/Subject:  

Please enter your comment in the box below:

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Variable file names in Report Writer
2000-05-31 -- Kevin Vokes
 
You need to derive the Report Engine class and override the ResolveVariableFilename method to fill in the path for your files. I have attached the code I use below. !------------------------------------------------------------------------------------------------ ! Procedure Local Data Embed MyEngine CLASS(ReportEngine) ResolveVariableFilename FUNCTION(STRING vname,*STRING value),SIGNED,VIRTUAL END !Local Procedures Embed... MyEngine.ResolveVariableFilename FUNCTION(STRING vname,*STRING sFileName) CODE sFileName = glo:DataPath & vname & '.tps' RETURN TRUE !---------------------------------------------------------------------------


Today is November 21, 2024, 6:41 am
This article has been viewed 35215 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: