Zum Hauptinhalt gehen

Add auto date to report

Kommentare

6 Kommentare

  • John Nerge

     

    Here's the code I use to add the current date to my reports.

     

    =System.DateTime.Now.ToString("M/dd/yyyy")"

     

    I use a Textbox and set the Datafield to that value. I also set the Output Format to M/d/yyyy.
    0
  • Permanently deleted user
    Thank you!  That did the trick.  I tried that route but failed to use the equal sign (=) in front of mine which just resulted in using the labels text property.
    0
  • Eva Cancino
    Thank you, I had this same question and this worked perfect!
    0
  • Permanently deleted user
    Thanks - same question as well! :)
    0
  • Permanently deleted user

    You could also usethe "Transform Workflow URI:" in Essentials admin; and point to a Workflow that changes any _value on the fly.

    (date/time, username , etc..)

    0
  • Permanently deleted user
    Frederic - I'm looking into using the Transform Workflow option as we have a half dozen fields to set in most of our templates, and we want to gather input from the user for some of them. I can write the workflow no problem, but I'm not positive how to associate the data obtained in the workflow with the data fields in the report file. Is it as simple as naming the Output arguments of the workflow the same as the data field names in the report file? I'm about to test this, but would appreciate a confirmation or a link to a demonstration of the Transform Workflow methodology as I haven't found an example as of yet. Thanks!
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.