Trying to start converting our PDMIS program to output to a PDF. I've gotten all of the variables setup to store the reports based on things like part name, time, date. But I'm trying to add an if/then statement to change the file name to indicate that a dimension failed.
I've search the forums here and people are using:
ASSIGN/NUMOOT=GETPROGRAMINFO("NUMOOT")
But it always reads a 0.
I'm using v2013, is it not the correct code for this version? Am I missing something before this line? Will it always show 0 offline? (I forced a nominal to make it OOT)
So I went ahead and updated our at the machine computer to v2016. And the GETPROGRAMINFO works, but the problem is if someone accidently closes the software it logs the computer off.