` 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: Name() with Report Writer in Clarion code
1999-12-23 -- Kevin Vokes
 
Actually you can override the prompt by calling the report engine in code. You need to derive your own report engine class from the parent engine and use the new engine when printing the report from code. In the app I have a variable containing the path to my data files and use this in my derived ResolveVariableName function. NewReportEngine CLASS(ReportEngine) ResolveVariableFilename FUNCTION(STRING vname,*STRING value),SIGNED,VIRTUAL END NewReportEngine.ResolveVariableFilename FUNCTION(STRING vname,*STRING sFileName) CODE sFileName = glo:DataPath & vname & '.tps' RETURN TRUE


Today is May 2, 2024, 1:53 am
This article has been viewed 35113 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: