Is it possible to set up functions to do the following:
I would like to be able to insert the following code below into every WebFOCUS report we create so that when the footer for our reports needs to change, we only have to change it in one place.
Or is there a better way to do this? We need to be able to change the format of Run Date in one place and have it change on all of our reports. The same goes for the Copyright year. I'm open to suggestions! This code will usually run through ReportCaster once the report is created.
Thanks.This message has been edited. Last edited by: Kerry,
September 17, 2009, 06:23 PM
j.gross
If you put the series of -SET commands to generate standard footing values in a fex file (either on server or within MR), and -INCLUDE that at the top of each report fex, the &vars will be available for reference in the footing.
Is that all you need?
- Jack Gross WF through 8.1.05
September 18, 2009, 12:57 AM
Anmol
It would be better to make a separate file rather than function..and you can include this file wherever you want..... that's definitely an easy option....for the maintenance purpose........
regards, anmol
WebFocus7.6.2, WebFocus 7.1.1,Windows HTML, PDF and Excel
September 18, 2009, 01:46 AM
SureshKumar
You can have all the SET veraibles with default values and the entire logic in a separate INCLUDE file. Then you can just Assgin values to Variables when needed and call the INCLUDE file wherever necessary.
Webfocus 8002M, 8009 OS: Windows7
September 18, 2009, 09:18 AM
C. Adams
Thanks to all of you for your help. Sometimes it is hard to see the forest for the trees!