I have built a Database to take care of everything a rental building requires: work orders, purchase orders, task scheduling and so on… it work great but wanted to make it more efficient. Here are some of the things I need to change and wanted to know if it is possible to do it in a way that would be bullet proof.
I currently use the “Work Orders” portion of the database to create a record when a building resident requires work performed at their suite. Once the request has been entered I print out a “Service Request Receipt” with action to contact me to make an appointment in order to go see the problem.
Once I received a call and enter it in my appointment portion of my database I then print out a “Work ticket.” I bring this work ticket with me on my call and then write information what I need to do and purchase for the job.
Once I have this information on paper I enter it in the work order detail section where I have 4 dynamic dependent combo boxes where each take its list of value from query.
Example:
Building = current building
Unit = list result of possible suite # and or common area that are possible for “current building”
Quarter= list of results (kitchen, bathroom bedroom…) that are possible given the [type] of [unit]
Element = List of results (light switch, tap, floor, wall…) that are possible for the [type] of quarter
On another form I have:
WorkOrderID and WorkOrderDetailID and ElementID
Which gives me a possible list of product to order on my purchase order:
Product = list of results( doorknob, light switch, gasket…) that is possible for the [type] of Element
Supplier = a list of potential suppliers who carry the part or parts that I need.
This all work fine and I like the simplicity as everything chains up together beautifully.
The upgrade that I want to do is as follow:
My lists. They are created using a table with two fields: example [unit] and [quarter]
Unit can be suite# 101 , 102 103.… and each suite have Kitchen, bathroom, bedroom if the suite is a one bedroom suite and may have a patio if it is on the corner of the building. All filters work great and I have no problem with that. The problem that I face is when I add an item to my tables. I have to add this item by creating a record for everything starting from the top with [buildingName] [Unit] [quarter] [element] [prduct] [supplier] which make on the fly adding of a record time consuming.
I was wondering if there is a way to just have one table of each but alone by themselves?
Instead of having to type the name of the building and a unit and a quarter each time when I could just simply add an [Element] record to the element table?
Right now I have no choice to double entry everything and it goes against good database design and need a way to write this in codes to refer to each table as a single entity and with the result of one combo box the second one would take its value from a table instead of a query that takes its value from current form control preceding what I now want to lookup for the next step.
Reason why I designed the database as it is was because I needed to keep track of this aging building and accurately demonstrate aging components. If I get 220 calls to fix plumbing at the end it will make sense to put the overall plumbing of the building under review for a total overhaul instead of paying for repair calls which adds up fast.
Any idea on how I can make this process more efficient?