L
Leif S
In an Access (2003) frame where the user is logging operations progress, I
want to test if the time entered by the user exceeds midnight. If so, the
user should be given a warning. I use the following test:
If Me.operations_to > CDate("1.1.1900 23:59:59") Then
message
End If
The machine I use for developing the app is set up with Eurpean(Norwegian)
date/time format. (The Me.operations_to field is of type smalldatetime
SQLServer). The test executes fine until the app is run from a desktop with
Non-European (US) date format. Then the test fails and kills the app.
Can anyone help me with a workaround or even better - a solution?
/Leif S.
want to test if the time entered by the user exceeds midnight. If so, the
user should be given a warning. I use the following test:
If Me.operations_to > CDate("1.1.1900 23:59:59") Then
message
End If
The machine I use for developing the app is set up with Eurpean(Norwegian)
date/time format. (The Me.operations_to field is of type smalldatetime
SQLServer). The test executes fine until the app is run from a desktop with
Non-European (US) date format. Then the test fails and kills the app.
Can anyone help me with a workaround or even better - a solution?
/Leif S.