I'm not sure if this topic has been posted yet, and I couldn't find any on this forum. Here's my situation.
I have a form that displays information about employee salaries. When an employee gets a raise we enter this info into this form. so if an employee recieves his first raise the "amendment number" is 1.
here's my problem :
How do I get the form to automatically insert a "2" for the "amendment number" field next time this person gets a raise?
I don't want to use autonumber because it can start to miss numbers down the road (ie deleting amendments). I want the form to find the largest "amendment number" for this employee and then add 1. How would I code this? or is there an easier way to do this?
also, if the employee currently has no amendments yet, how do I make the amendment number field automatically insert a 1?
thanks for any help
I have a form that displays information about employee salaries. When an employee gets a raise we enter this info into this form. so if an employee recieves his first raise the "amendment number" is 1.
here's my problem :
How do I get the form to automatically insert a "2" for the "amendment number" field next time this person gets a raise?
I don't want to use autonumber because it can start to miss numbers down the road (ie deleting amendments). I want the form to find the largest "amendment number" for this employee and then add 1. How would I code this? or is there an easier way to do this?
also, if the employee currently has no amendments yet, how do I make the amendment number field automatically insert a 1?
thanks for any help