I have a database to record annual leave of all the doctors in the hospital i work in, when a doctor works a bank holiday they get an extra days worth of annual leave, at the beginning of the annual leave year we allocate each person a certain amount of days leave which is kept in the staff table next to the persons details etc, this is called "leavealloc" so on my leave totals form i want a button to open a form to enter the date of the bank holiday worked and i also want the id of the person "assignmentno" to go into a field on that form and when save is clicked i want the value of "leavealloc" to increase by 1 and the date of the bank holiday worked and the "assignmentno" to save in the bank holiday table.
I have tried to use an update query to change the persons value of "leavealloc" but i get a data type conversion error, so i changed the parameters under the query option in queries to suit the fields being used but then i am asked to input the assignment no again.
Please Help!!
I have tried to use an update query to change the persons value of "leavealloc" but i get a data type conversion error, so i changed the parameters under the query option in queries to suit the fields being used but then i am asked to input the assignment no again.
Please Help!!