I'm an intern student at a company that does both wiring and aircon services. The job that they gave me was to make a database for them. I don't have any experience in anything related to databases.
So, I started to look up videos and stuff to at least learn a bit about databases and make something that works and I made it after 1.5 months of learning.
in the database that I created,
I have 1 table (CustomerDetailsT):
CustomerID (pk)
CustomerName
PhoneNumber
Address
Aircond (type and model of ac,ex: WM daikin 1.0HP)
AcDetails (what has been done for the ac.)
Others (yes/no) (Wiring, installing a fan and so on)
WhatHasBeenDone (shows what has been done for others)
Then 3 queries (CustomerOthersDetailsQ, CustomerAcDetailsQ, CustomerDetailsQ).**CustomerAcDetailsQ** has *CustomerName, PhoneNumber, Address, Aircond* and *AcDetails*. **CustomerOthersDetailsQ** has *CustomerName, PhoneNumber, Address, Others,* and *WhatHasBeenDone*.**CustomerDetailsQ** has *CustomerID, CustomerName, PhoneNumber* and *Address*
And 1 form with 3 subforms.
it's a search form, which would search for customers as we're typing in their name/phone number and it will show what has been done for the customer.
With this, I have created what the company wants, but now they want to add dates. Dates which would show when we have done something for a customer. Dates for Aircond and the Others stuff.
for example, Customer A needs the ac in his house to be repaired on 3.4.2022. So, this info would then be updated in the customer details table and then it would show in the customer search form. After that, Customer A faces a problem with his ac again and this time its the wiring for the ac and he wants it to be done on 5.5.2022.
I've tried with what I know and it didn't work. tried searching it on youtube and google, but still couldn't find it.
how can I go about doing this?. I have tried having separate tables for each service, but it became a hassle when I wanted to create a new customer...
[1]: https://i.stack.imgur.com/mtrmC.png [The Customer search form] [1]: https://i.stack.imgur.com/A3Y9d.png [example of a customer that has ac installation] [1]: https://i.stack.imgur.com/dsGL5.png [example of a customer that has both ac and wiring done]
I've posted the same thing in stack overflow and was told that the question is suitable in stack overflow and that access forums would be the better place so i came here.