fat controller
Slightly round the bend..
- Local time
- Today, 09:46
- Joined
- Apr 14, 2011
- Messages
- 758
I have a bit of a problem, but also have a potential solution banging around in my head - however, I don't quite have the knowledge/confidence to back this up with the practical bit...
Please bear with me as I try and explain with as much detail as I can
THE PROBLEM:
I have a fleet of vehicles, each with a unique ID (FleetID); on any given day, this fleet of vehicles will either be allocated a duty number, be spare/unused or be undergoing service or repair work. Currently, the duty number for each vehicle is attached to it, and in theory if it is not in use it should have an attachment that says spare/service/MOT etc.
The availability of the vehicles is controlled by one department - they either allocate it to a duty number or they pass it to another department who allocate it.
What each duty does throughout the day is controlled by the second department, and if there are any that fail during the day they liaise with the first department to arrange repair/swap etc.
However, this whole system falls over (far too often at the moment if truth be told) for a number of reasons - firstly, if a vehicle has been repaired and then parked up with no duty badge, only the person that parked it up knows it is ready to go; similarly, if there is a number of call-outs to vehicles on the road we can find ourselves in a situation where we have a number of vehicles sat with no duty tags on them and nobody available to ask...... essentially, the department that controls the movements of the vehicles all day are left unable to do anything until someone from the other department returns.
THE SOLUTION:
I currently have a database that is used successfully by both departments, and this database has a table (tblVehicles) that lists all the vehicles that the site has, with the primary key being the vehicles unique FleetID; there is also a query that shows only the current fleet (vehicles sometimes move from site to site, but can also come back, so rather than remove them they are simply given a 'date out' and a 'out to' on the vehicle's record)
My thinking is that it surely cannot be beyond the realms of possibility to use this table to do the following:
I am not sure whether I should integrate this with the current database that both departments can access easily, or if I should create a separate database linking only to the vehicle table (so have two front and two back ends with one table shared/linked?) -- my current thinking is put it all in the current one simply because the current database is in use all the time by the department that controls everything out in the field.
And I am not sure how best to tackle this at the moment in terms of the tables, forms and queries - - so, a plea for your help once again ladies and gentlemen. All suggestions and advice gratefully received
Please bear with me as I try and explain with as much detail as I can
THE PROBLEM:
I have a fleet of vehicles, each with a unique ID (FleetID); on any given day, this fleet of vehicles will either be allocated a duty number, be spare/unused or be undergoing service or repair work. Currently, the duty number for each vehicle is attached to it, and in theory if it is not in use it should have an attachment that says spare/service/MOT etc.
The availability of the vehicles is controlled by one department - they either allocate it to a duty number or they pass it to another department who allocate it.
What each duty does throughout the day is controlled by the second department, and if there are any that fail during the day they liaise with the first department to arrange repair/swap etc.
However, this whole system falls over (far too often at the moment if truth be told) for a number of reasons - firstly, if a vehicle has been repaired and then parked up with no duty badge, only the person that parked it up knows it is ready to go; similarly, if there is a number of call-outs to vehicles on the road we can find ourselves in a situation where we have a number of vehicles sat with no duty tags on them and nobody available to ask...... essentially, the department that controls the movements of the vehicles all day are left unable to do anything until someone from the other department returns.
THE SOLUTION:
I currently have a database that is used successfully by both departments, and this database has a table (tblVehicles) that lists all the vehicles that the site has, with the primary key being the vehicles unique FleetID; there is also a query that shows only the current fleet (vehicles sometimes move from site to site, but can also come back, so rather than remove them they are simply given a 'date out' and a 'out to' on the vehicle's record)
My thinking is that it surely cannot be beyond the realms of possibility to use this table to do the following:
- Each day have one record that shows the duty number or status of that vehicle for that day.
- A form which lists all the vehicles that will not close until there is a status next to each FleetID - DCount? Once all vehicles have been given a status, the form will then close.
- The ability to change the status of each vehicle as the day goes on (not sure whether this would be best to have the status simply change and overwrite the original status, or to show the changes (possibly up to four in a day I would think)
- The ability to run a report that shows the current status of all vehicles, regardless of whether they have been allocated a status or not
- If a vehicle is not useable, the ability to add a short line of text stating why (eg engine overheating) and the progress (eg awaiting parts)
I am not sure whether I should integrate this with the current database that both departments can access easily, or if I should create a separate database linking only to the vehicle table (so have two front and two back ends with one table shared/linked?) -- my current thinking is put it all in the current one simply because the current database is in use all the time by the department that controls everything out in the field.
And I am not sure how best to tackle this at the moment in terms of the tables, forms and queries - - so, a plea for your help once again ladies and gentlemen. All suggestions and advice gratefully received
