I'm trying to figure out how to create an expression which will simply display "Day Shift" or "Swing Shift" based on a field which displays a time stamp when an employee enters a record into the database.
I'm using Access 2007 to connect to an Oracle DB over an ODBC connection.
I know the solution is probably simple, but I haven't been able to convince the boss to send me to an access class to learn this stuff so i'm still flying by trial and error.
The field which displays the timestamp is displayed like mm/dd/yyyy hh:mm:ss.
The expression that I've been trying to build should just take all the records between 6AM and 3PM and display "Day Shift" and then those from 3pm to 11pm and display "Night Shift".
Any ideas? Thanks.
Joseph Kupovlevski
I'm using Access 2007 to connect to an Oracle DB over an ODBC connection.
I know the solution is probably simple, but I haven't been able to convince the boss to send me to an access class to learn this stuff so i'm still flying by trial and error.
The field which displays the timestamp is displayed like mm/dd/yyyy hh:mm:ss.
The expression that I've been trying to build should just take all the records between 6AM and 3PM and display "Day Shift" and then those from 3pm to 11pm and display "Night Shift".
Any ideas? Thanks.
Joseph Kupovlevski