General information
Category:
Coding, syntax & commands
>Is there a way to bindevents to when the date of the computer changes? In our accounting package when the user first logs in we set a property to the current date but allow them to change the date so they can 'back post' entries that they need to do. One client runs 24/7 and isn't happy that the date doesn't change after midnight.
Not sure if there is a Windows event for binding, but a work-around would be to calculate the time to midnight at the start of the program (when setting the custom date property). Then set a timer to "count-down" to that time plus a couple of minutes. Then re-read the date and calculate new timer setting.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only