This is what I wrote:
Dim db As dao.Database
Dim rs As dao.Recordset
Dim strSQL As String
Set db = CurrentDb
strSQL = "select * [Time_In] =" & Code
Set rs = db.OpenRecordset(strSQL, dbOpenDynaset)
If rs.EOF Then MsgBox "Code Not Found" Else MsgBox "Code Found"
rs.Close
db.Close
Set rs = Nothing...
I have a table that hold numeric codes. Example:
Code
1000
1002
2000
2394
On a form I request for the code number. I need help to construct a query that if the code does not exist, it will return a message that the code does not exist. For example the code 1111 is not on the list.
I already...
Hello Everyone,
I solved the problem. I appreciate the help. The query that I had needed two criterias. The exeptions I needed were for the time less than 24 and greater than 0. Now the data comes in perfectly with the right time and the right amount of hours/minutes worked....
Thanks...It has...
That is the problem. He punched in for example on the 21st and punched out on the 21st also at a later time. Then then next day he did the same but it display the actual time and it also takes the 21st as a starting time for the 22nd as another time. By the way the date/time is display in short...
Example:
An Individual Clocks in one day at 10am and Clocks out at 3PM. Then Next day at 9am and out at 4pm, etc.
When I run the query that has both tables In and Out, it will show time in 10am out at 3pm in another line it will show 10am out at 4pm... It does not go to the next time in and...
I created a Time Clock for a small office. When a person comes in to work, the person will login with his secret code and "will press the the Clock In button" at that time the system will record the time that the employee logged in. The same concept when it logs out. The problem is that the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.