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
  • Chally, that is an incorrect statement. The file name is what we look up in datapage and the stored PDF files for auditing purposes. When I look up a report that has been stored as a PDF file, it makes it easy for my AS9100 auditor to see the actual report.. I know that Datapage saves the value results, but the PDF's that I save are limited to 999. Yea, I can always see the date and time of the cmm run and values in datapage, no matter if the stats counter has changed to (1) again. What I am asking is how to reset the "999" counter (PDF) back to 1 to start all over again. It does not matter what the count number is. If my operator has exceeded 999 on the PDF file storage, the date and time will still show up in the datapage directory. I realize this. We have the stat #, the operator name, the operation, the side of the tombstone it was run on, operator name, job #, pallet #, serial #, and specific coded authenticity # to everything we run. All this is in datapage and stored as a PDF in the server. I just want to know what it takes to "Reset" the PDF counter back to #1 when the PDF files are approaching 999. I am sure it's not a big deal. I just am not for sure how to change it. For instance: If : Lever#1.001PDF reaches "Lever#1999PDF, it will overwrite the last cmm run of "Lever#1999PDF. I monitor all the runs and their counts. When they get close to 999, I need to "Reset" the PDF file counter. Does this make sense?? I think you know where I am going now. Thanks again ..........as always.
Reply
  • Chally, that is an incorrect statement. The file name is what we look up in datapage and the stored PDF files for auditing purposes. When I look up a report that has been stored as a PDF file, it makes it easy for my AS9100 auditor to see the actual report.. I know that Datapage saves the value results, but the PDF's that I save are limited to 999. Yea, I can always see the date and time of the cmm run and values in datapage, no matter if the stats counter has changed to (1) again. What I am asking is how to reset the "999" counter (PDF) back to 1 to start all over again. It does not matter what the count number is. If my operator has exceeded 999 on the PDF file storage, the date and time will still show up in the datapage directory. I realize this. We have the stat #, the operator name, the operation, the side of the tombstone it was run on, operator name, job #, pallet #, serial #, and specific coded authenticity # to everything we run. All this is in datapage and stored as a PDF in the server. I just want to know what it takes to "Reset" the PDF counter back to #1 when the PDF files are approaching 999. I am sure it's not a big deal. I just am not for sure how to change it. For instance: If : Lever#1.001PDF reaches "Lever#1999PDF, it will overwrite the last cmm run of "Lever#1999PDF. I monitor all the runs and their counts. When they get close to 999, I need to "Reset" the PDF file counter. Does this make sense?? I think you know where I am going now. Thanks again ..........as always.
Children
No Data