hexagon logo

Statistics Report PDF. Storage Count and Resetting?

I have read through alot of the dmis "Help Files" and have searched for quite awhile on the forum for this question and have not found it yet. I believe Mr. Hoademan explained this at one time, but It's been awhile and I can't seem to find the posting which pertains to my question. At the end of all my programs , I have the VB code which produces a "Yes or No" question prompt asking the operator if he or she would like to print a report or not. They "Click" yes or no depending their needs. However, a PDF. file of the report is stored in my computer for auditing purposes and so forth. My questions is: when the databse reaches 999, it will not produce stored copies of the reports anymor. It seems to just overwrite the last file. How do you "Reset" the storage memory back to zero, so it can start all over again. I do not understand why wilcox set this limit to 999, but its a real pain. The only way I have found (which I know is not really the correct way) is the place a dash or space in the "Part Name" , change the stats count to 1 and go to the bottom whee the VB command is and change those values to "0". This works, but its not the correct way.
If someone could explain how to do this correctly, I would really appreciate it. As always, I appreciate the help.
Parents
  • When you do your automatic filesave, specify the filename in a string with the current date and time. Clearly you don't care about ease of lookup, with pdf's numbered 1-999. Otherwise, you could even add in part number, job number, operation number, etc, into the string and save the PDF file as that string.

    This seems a lot more intuitive than save the file with a counter and f*** with things to reset it.
Reply
  • When you do your automatic filesave, specify the filename in a string with the current date and time. Clearly you don't care about ease of lookup, with pdf's numbered 1-999. Otherwise, you could even add in part number, job number, operation number, etc, into the string and save the PDF file as that string.

    This seems a lot more intuitive than save the file with a counter and f*** with things to reset it.
Children
No Data