`
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
!---------------------------------------------------------------------------
Printed October 24, 2026, 1:53 pm This article has been viewed/printed 36236 times. |