hexagon logo

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.


.
  • 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.
  • 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 Rolling eyes
  • 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!!!
  • 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.
  • 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.
  • 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.
  • 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
  • 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
  • From what I understand it is only the off topic side that gets a cleanup
  • 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.Disappointed

    James Mannes has me brainwashed. Smiley James Mannes has me brainwashed. James Mannes has me brainwashed. Smiley James Mannes has me brainwashed. Smiley James Mannes has me brainwashed.