hexagon logo

setting "stats count" to a PCDMIS variable

how can I assign the value of "stats count" to a pcdmis variable?
Parents
  • JEEP......here is what I use. I am not for sure what you are trying to accomplish, but what this does is places a prompt to the operator (which shows the actual stats count number) to use the "Stats Count" number from the "File Header" to put on their report for traceability. You will have to change the "Assign" number to suit your situation. I was issued this from another fine member of the board. It works like a charm for me.Basically, this VB steals the developed code from the original pcdmis file header(which houses the code) and places it in a prompt window for my operators. HTH.Slight smile

    ASSIGN/V3 = STR(GETTEXT(194,1,{FILEHEDR}))
    ASSIGN/STATSCOUNT = STR(V3)
    COMMENT/OPER,YES, IF YOU HAVE A NEW EPICOR SIGN OFF SHEET, WRITE THIS NUMBER IN IT'S PROPER
    ,FIELD. IF YOU NOT HAVE A NEW EPICOR SIGN OFF SHEET, JUST CLICK O.K
    ,STATSCOUNT
Reply
  • JEEP......here is what I use. I am not for sure what you are trying to accomplish, but what this does is places a prompt to the operator (which shows the actual stats count number) to use the "Stats Count" number from the "File Header" to put on their report for traceability. You will have to change the "Assign" number to suit your situation. I was issued this from another fine member of the board. It works like a charm for me.Basically, this VB steals the developed code from the original pcdmis file header(which houses the code) and places it in a prompt window for my operators. HTH.Slight smile

    ASSIGN/V3 = STR(GETTEXT(194,1,{FILEHEDR}))
    ASSIGN/STATSCOUNT = STR(V3)
    COMMENT/OPER,YES, IF YOU HAVE A NEW EPICOR SIGN OFF SHEET, WRITE THIS NUMBER IN IT'S PROPER
    ,FIELD. IF YOU NOT HAVE A NEW EPICOR SIGN OFF SHEET, JUST CLICK O.K
    ,STATSCOUNT
Children
No Data