I am working on a database and would require some assistance.
This database is a furniture shop management system and a carpenter cannot process more than four jobs.
I have worked out a query to count the number of jobs each carpenter has and now I need a VBA code to run before allocating an already occupied carpenter wit more jobs to alert the user to release him of some of the jobs.
I would like the code to get the job numbers for that carpenter from the query and if they are more than four to prompt the user to release some otherwise to accept that the carpenter can be allocated another job.
Once the job is finished i need to release the carpenter of that job in order to allocate him another job.
Any help is already highly appreciated.
This database is a furniture shop management system and a carpenter cannot process more than four jobs.
I have worked out a query to count the number of jobs each carpenter has and now I need a VBA code to run before allocating an already occupied carpenter wit more jobs to alert the user to release him of some of the jobs.
I would like the code to get the job numbers for that carpenter from the query and if they are more than four to prompt the user to release some otherwise to accept that the carpenter can be allocated another job.
Once the job is finished i need to release the carpenter of that job in order to allocate him another job.
Any help is already highly appreciated.
Comment