Report Template W/date,time, Program Name At Bottom

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Report Template W/date,time, Program Name At Bottom

    Here is a copy of a Report Template with the date,time, and program name placed at the bottom of the program(zipped link...go HERE) . I did this so that I can keep track of hard copies of the report should they get separated from each other.

    The code immediately below this text is how to type in the info you would like to show up.


    .
    Last edited by JamesMannes; 09-20-2010, 11:07 AM.
    sigpic

    James Mannes

  • #2
    Important thing to remember is the syntax is case sensitive. At least it is when it is part of your PCDMIS part program I assume it is with templates as well.

    SYSTEMDATE("MM'/'DD'/'YY") will only return "05/DD/YY" (assuming it is May)
    SYSTEMDATE("MM'/'dd'/'yy") will return the actual date formated as month/day/year with leading zeros.
    <internet bumper sticker goes here>

    Comment


    • #3
      Wow! Thanks James, but when I execute your code it comes out like this:


      .DAT # JAMES MANNES
      Functionality
      Equivalent Command in Report Template
      #JAMES MANNES
      Inserts the current date.
      =SYSTEMDATE("JAMES MANNES")
      #JAMES MANNES
      Inserts the current time.
      =SYSTEMTIME("JAMES MANNES")
      #JAMES MANNES

      Inserts the current page number.
      =Page()
      #JAMES MANNES

      Inserts the value of trace field n, where n is the trace field number.
      =JAMES MANNES(n)
      #JAMES MANNES

      Inserts the part program name.
      =JAMES MANNES( )
      #JAMES MANNES
      Inserts the revision number.
      =JAMES MANNES()
      #JAMES MANNES
      Inserts the serial number.
      =JAMES MANNES( )
      #JAMES MANNES
      Inserts the sequence number.
      (JAMES MANNES)
      #JAMES MANNES
      Inserts the scale factor.
      =JAMES MANNES)
      #JAMES MANNES
      Inserts the total number of dimensions.
      =JAMES MANNES()
      #JAMES MANNES
      Inserts the total number of dimensions that are out of tolerance.
      =JAMES MANNES()
      #JAMES MANNES
      Inserts the time elapsed between start and end of execution.
      =JAMES MANNES()
      #JAMES MANNES=IRONMAN=RUSTY
      Inserts a bitmap of the specified full path and name.
      Use Bitmap object
      sigpic"Hated by Many, Loved by Few" _ A.B. - Stone brewery

      Comment


      • #4
        Thnaks Wes,
        I'm glad you got a kick out of my little attempt at humor. Sometimes I don't know if I'm being funny or a dumbbazz. A toast to Wes with some Whiskey!!!
        sigpic

        James Mannes

        Comment


        • #5
          Originally posted by JamesMannes View Post
          Thnaks Wes,
          I'm glad you got a kick out of my little attempt at humor. Sometimes I don't know if I'm being funny or a dumbbazz. A toast to Wes with some Whiskey!!!
          A toast back to you! I notice Admin has deleted some more old threads, thus reducing our post counts, but they left my status as Demiguru. Curious. I know what you mean about not being sure if others will appreciate the humor or not, but you can't hit a homer if you don't swing for the fence, even if that does mean you strike out sometimes.
          sigpic"Hated by Many, Loved by Few" _ A.B. - Stone brewery

          Comment


          • #6
            OH, I see, Ranger and J are still gurus but as soon as they post again, they go back to being ultra senior members. You retained guru status James, barely.
            sigpic"Hated by Many, Loved by Few" _ A.B. - Stone brewery

            Comment


            • #7
              Originally posted by Wes Cisco View Post
              OH, I see, Ranger and J are still gurus but as soon as they post again, they go back to being ultra senior members. You retained guru status James, barely.
              Do they remove stuff mainly from the off-topic side? Maybe that's the culprit. Just upping post count.
              sigpic

              James Mannes

              Comment


              • #8
                Originally posted by JamesMannes View Post
                Do they remove stuff mainly from the off-topic side? Maybe that's the culprit. Just upping post count.
                Yep, I think they mostly delete offtopic stuff. So next time around will be the 3rd time I have achieved guru status. Another 19 on-topic pads and I should be safe. LOL
                sigpic"Hated by Many, Loved by Few" _ A.B. - Stone brewery

                Comment


                • #9
                  Originally posted by Wes Cisco View Post
                  OH, I see, Ranger and J are still gurus but as soon as they post again, they go back to being ultra senior members. You retained guru status James, barely.
                  Nope, we are just OLD members
                  Links to my utilities for PCDMIS

                  Comment


                  • #10
                    From what I understand it is only the off topic side that gets a cleanup
                    <internet bumper sticker goes here>

                    Comment


                    • #11
                      Originally posted by JamesMannes View Post
                      Thnaks Wes,
                      I'm glad you got a kick out of my little attempt at humor. Sometimes I don't know if I'm being funny or a dumbbazz. A toast to Wes with some Whiskey!!!
                      I enjoy the humor, unless it is at my expense. Then I get hurt and cry.

                      James Mannes has me brainwashed. James Mannes has me brainwashed. James Mannes has me brainwashed. James Mannes has me brainwashed. James Mannes has me brainwashed.
                      When in doubt, post code. A second set of eyes might see something you missed.
                      sigpic

                      Comment

                      Related Topics

                      Collapse

                      Working...
                      X