Click here to Skip to main content
15,889,992 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
i am building a windows forms application for a school register where the student can clock in with a pin, but i need a way of making sure they do not clock in twice in a day. Please how do i go about this, thanks
Posted

1 solution

When they clock in you must be recording an ID, Date and Time, and direction (IN / OUT)?

When clocking in, check their previous entry was OUT or does not exist. When Clocking out, check their previous entry was IN or does not exist.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900