Macros in names of Automatic Reports files

Started by Danilo

Danilo

Macros in names of Automatic Reports files   21 January 2016, 21:46

Hi,

I would like to know (there is no reference to this in the User Manual) if you can use macros in the "File" field of the "Reports" tab of the "Settings".

I would like to save daily, weekly and monthly HTML reports, but if I put one filename for each of them NetWorx overrides the same 3 files every day, week and month respectively.
Therefore I would like to put a macro (like the creation date, or simply a progressive number) in order to avoid this problem.

I hope I was clear in explaining my problem and I hope that there is a solution to it

Thanks
SoftPerfect Support forum - Andrew avatar image

Re: Macros in names of Automatic Reports files   21 January 2016, 22:05

There is no macro or variable that can be used in the file names, because we didn't expect it to be used this way.

I guess it's possible to add it, but what's the point in keeping those generated reports if you can build a report over any period at any time in NetWorx?
Danilo

Re: Macros in names of Automatic Reports files   22 January 2016, 00:10

Just because in this way I don't have to generate them manually
SoftPerfect Support forum - Andrew avatar image

Re: Macros in names of Automatic Reports files   22 January 2016, 11:55

No worries, I have added macro variables in the latest builds:

Use any combination of the following tokens, each enclosed between two percent signs: y, yy, yyyy, m, mm, mmm, mmmm, d, dd, ddd, dddd, h, hh, n, nn, s, ss. For example:
%yyyy%-%mmm%-%dd%.htm
Danilo

Re: Macros in names of Automatic Reports files   23 January 2016, 21:16

Hi,

I tried it and it seems to work really well!

Thank you very much smile

Reply to this topic

Sometimes you can find a solution faster if you try the forum search, have a look at the knowledge base, or check the software user manual to see if your question has already been answered.

Our forum rules are simple:

  • Be polite.
  • Do not spam.
  • Write in English. If possible, check your spelling and grammar.

Author:

Email:

Subject

A brief and informative title for your message, approximately 4–8 words:

     

Spam prevention: please enter the following code in the input field below.

 **     **  ********   **     **  **    **  ********  
 ***   ***  **     **   **   **   ***   **  **     ** 
 **** ****  **     **    ** **    ****  **  **     ** 
 ** *** **  **     **     ***     ** ** **  ********  
 **     **  **     **    ** **    **  ****  **        
 **     **  **     **   **   **   **   ***  **        
 **     **  ********   **     **  **    **  **        

Message: