Greatings,
I am a vbs newbie, about two months of class.
I am working on a dispatching program which uses an incrementing call number. The call number is made up of two separate parts, the last two digits of the year, (which I have worked out), and an integer, “CallCount” i.e. 07 0115. The two are displayed in a separate text boxes. Each time a call is added, (the “AddCall” button clicked), the CallCount is increased by one. I need to reset the four-digit count back to 1 at midnight on January 1st of each year. I am thinking a “Do Until” the date equals 31 December 11:59:59, or use the year string change as a trigger but I am unsure if this will actually work. Is there a simple solution?
Thanks in advance