FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

Replacing file automatically

Hi,

I am trying to run an html generating report automatically every day but each time it runs I would like it to replace the existing file.  Currently it asks 'do you want to replace...?' each time. 

Thank you in advance.

I will attach my vi also.

Laura
Download All
0 Kudos
Message 1 of 4
(3,248 Views)

Laura,

In the 'Save Report to File.vi' there's a sub Vi for opening the file called 'Open/Create/Replace File.vi.'  This VI is popping up the "replace?" dialog.  You can suppress this dialog by wiring a FALSE to the 'advisory dialog?' input. 

You probably want to make a copy of the 'Save Report to File.vi' and then make this change and use the VI, rather than changing the original. 

Regards,

-Khalid

0 Kudos
Message 2 of 4
(3,238 Views)
Thank you for your help.  Sorry I took so long to thank you - just got excited at my project working then got carried away!  Anyway thanks.
0 Kudos
Message 3 of 4
(3,220 Views)
Smiley Happy
0 Kudos
Message 4 of 4
(3,209 Views)