Shift wise data changing.
How to change a number every 8 hours. for example
if time is less than or equal14:00 hrs i wnt a number to be printed 1, if it is less than or equal to 22:00hrs it should be 2 else if time is between 22:hra to 6:00 i want the number to be 3.
-
Hi Samarth,
Welcome to the BarTender Community!
I believe what you are trying to accomplish should be doable via the use of Conditional Printing. BarTender has the capability to conditionally print in an assortment of manners. Conditional printing is configured using an expression or referencing a data source. This allows the ability for your label to adapt dynamically.
We could capture the system time via VBScript on a variable and conditionally change the number depending on the time displayed on the variable.
Also, here are some other links that I believe you'll find useful:If you need help with setting up this script, I would recommend reaching our BarTender Partners or our Professional Services team, as they would have the expertise in creating custom scripts.
I hope this information was of use.0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
1 commentaire