matthewnsarah07
Registered User.
- Local time
- Today, 15:24
- Joined
- Feb 19, 2008
- Messages
- 192
I have three questions regarding a staff holiday request database I have created. Hope someone can help!
1) When a member of staff fills out a request form, the primary key is an auto number which can obviously then be used to track a request. I collect requests from 3 locations for now, Greater Manchester(GM); Lancashire(LN); Cheshire(CH)
Staff select there location as above from a combo box (combolocation) on the form - is it possible for another field to combine the auto number and the location initials to produce a reference number that is stored on the table so it would appear for example as 123CH? Can this be done with the primary key itself?
2) All requests have to be dealt with in 3 days, how do I set up a query that takes the current date and returns all requests 3 days or older?
A field [Complete] will be marked 'New' if the request has not been dealt with, the date is found in [Date of Request]
3) My form auto numbers itself as the primary key as stated in Q1, I have had a few people coming to me saying that the database has duplicated a record number (multiple users may use the form at the same time) is this possible and if so is there a definate way to stop it happening?
Thanks for your help, always appreciated
Matt
1) When a member of staff fills out a request form, the primary key is an auto number which can obviously then be used to track a request. I collect requests from 3 locations for now, Greater Manchester(GM); Lancashire(LN); Cheshire(CH)
Staff select there location as above from a combo box (combolocation) on the form - is it possible for another field to combine the auto number and the location initials to produce a reference number that is stored on the table so it would appear for example as 123CH? Can this be done with the primary key itself?
2) All requests have to be dealt with in 3 days, how do I set up a query that takes the current date and returns all requests 3 days or older?
A field [Complete] will be marked 'New' if the request has not been dealt with, the date is found in [Date of Request]
3) My form auto numbers itself as the primary key as stated in Q1, I have had a few people coming to me saying that the database has duplicated a record number (multiple users may use the form at the same time) is this possible and if so is there a definate way to stop it happening?
Thanks for your help, always appreciated
Matt