hexagon logo

VBScript for reports

Hello everyone,

I got a problem.. Slight smile When the measurement ends I want to save report to specific location, depending on where the part was made (we have same part, but we make it on 2 machines)..
I am using PRINT command, but it sometimes saves blank .rtf report for no reason. so I thought, that maybe using script would be better and more secure, but my scripting knowledge is really limited at the moment, since I just started to do scripting.

I tried to get it working with some scripts, but no luck.

Does anyone have any syntax or code example that I could check and make it work ?
Basically, when measurement ends, msgbox opens and you have to choose(checkbox/list/buttons) the destination where it should save report, which has to be .rtf because we use them in some other programs for statistic.

Thank you for help, D.
Parents
  • Both yes and no, I guess. Say that you want to change the location of saved reports for one specific machine. Instead of changing the location (path) in all your programs that saves to the old location, you only change the script (that all programs use) instead.

    Whatever suits you, I guess.
Reply
  • Both yes and no, I guess. Say that you want to change the location of saved reports for one specific machine. Instead of changing the location (path) in all your programs that saves to the old location, you only change the script (that all programs use) instead.

    Whatever suits you, I guess.
Children
No Data