Zum Hauptinhalt gehen

Suche

Suche

Adding A Print Counter To A Text Field

Kommentare

10 Kommentare

  • Avatar
    Fernando Ramos Miracle

    Hello Mthomas,

     

    If you are resetting your serial number using the built in feature referring to clock values, then it will surely be reset upon a new day, hour, or any other clock changes.

     

    If you wish the serial number to be rest at a certain hour, you would need to instead use the reset on "data changes" feature, pointing to a "named data source" that only changes when that certain hour is reached.

     

    For example, this named data source could be of a "clock" type, it's data type should be "time" but configured with a custom format of "dd" to display the day (this will allow you to set an offset on hours), and apply an offset of -2,5 hours. With this configuration this named data source will only change value at 2:30 in the morning.

     

    Regards

    0
  • Avatar
    Legacy Poster

    Hello Fernando,

     

    Thank you for your reply. I have a data source which is a "clock" as you've said. I have chosen my reset parameters to reference this source and have set the offset to .125 days, in order to simplify the situation (reset at 3:00 am, rather than 2:30) My question now is, how do you determine the direction of the offset, is offset always considered later? or is there an option to make the offset earlier or later?

     

    I have also attached my label, if that helps.

     

    Thank you again for your assistance,

     

    -Miguel

    0
  • Avatar
    Fernando Ramos Miracle

    Hello Miguel,

     

    A date/time offset supports negative numbers for "earlier" date/times. Normal offset is always considered "later".

     

    I've modified your document and attached it for you to take a look at it. With the current configuration the serial number will reset every day at 10:30 (I've set a constant offset to the time data source of "-150" minutes).

     

    Regards.

    0
  • Avatar
    Legacy Poster

    Everything seems to be in order, however, when I set the offset, arbitrarily to a time, say 1 minute from now, and then increment the count to a number other than 001, when the time changes over, it doesn't reset the value. Do you know why that might be, or how I can fix it so that it does?

     

    Thanks,

     

    -Miguel

    0
  • Avatar
    Fernando Ramos Miracle

    Have you also reconfigured the displayed clock format? If you've set a minute offset, but the object is displaying the "days" value, you won't see much of a change.

     

    Remember that the serial number only resets when that object's value changes.

     

    Regards.

    0
  • Avatar
    Legacy Poster

    Yes, I changed it so that it displays mintues, but regardless of that, I adjusted the offset, in oreder to make it so that the day of the month would change at the appropriate time, and physically watched the data change in the field from 15 to 16, still no reset. I'm simpyl unsure why the count would not reset.

     

    Thanks,

     

    -Miguel

    0
  • Avatar
    Fernando Ramos Miracle

    Could you please attach the latest version of your document so I can take a look at it?

     

    Thanks!

    0
  • Avatar
    Legacy Poster

    Of course, keep in mind I simply have it set to change whenever my "clock" field changes, for any reason, simply to try and force a reset to happen. Once I have determined why it will not reset, then I would like to change it so that it resets at 2:30 or 3:00 AM.

     

    Thanks,

     

    -Miguel

    0
  • Avatar
    Fernando Ramos Miracle

    Hello mthomas,

     

    Please do attach the latest version of your document so I can take a look at it.

     

    Thanks.

    0
  • Avatar
    Legacy Poster

    My apologies, I thought I had attached it.

     

    Thank you once again,

     

    -Miguel

    0

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