|
Question : Attendance DB
|
|
Hi, I need a simple attandnace db, which will do the following: I've created three tables: 1. tbl_emp (emp_name, emp_password 2. tbl_emp_in(auto_date, emp1, emp2, emp3) 3. tbl_emp_out(auto_date, emp1, emp2, emp3)
I also created a form which contains the following: 1. combo box (has a list of all emp) 2. Two (not working buttons: IN, OUT)
Need: How to make auto_date? When an emp attend, he/she should select name from the combo box and click on IN. By doing so, password window should popup (compare password from tbl_emp). If correct, record time in tbl_emp_in. same to be done for OUT.
|
|
Answer : Attendance DB
|
|
You can have the form automatically maximize and you can hide the database window (i.e. the window where you open tables forms etc)
You do not need another field for time. You can format the date/time to leave out the date and just show the time (hours and minutes e.g. 10:30). It is actually really handy to have date and time stored in one field.
As far as the . instead of the !
When I first learned to use access I read that ! should be used instead of . but . usually works ok. I think sometimes though replacing . with ! solves problems.
|
|
|
|