Hi,
I wondered if someone might be able to help me please. I'm trying to create a database for my construction firm. This is the general structure of it:-
I have the following tables set up:-
tbljob with the fields:-
JobID (primary key)
Job Name
Job Address
Client Name
Client Address
Client Phone
Client Mobile
Client Email
tblcostitem with the fields:-
CostItemID (primary key)
Job Name
Item Name
tbldiary with the fields:-
Date
Job Name --> lookup to tbljob
Cost Item --> lookup to tblcostitem
StaffID --> lookup to tblstaff
Hours
tblstafff with the fields:-
StaffID (primary key)
Worker
Cost Rate
Charge Rate
The idea of it is that I want to record a diary of what worker has worked on what job, and doing what item of that job for how many hours. I can then produce a report that can show all data, or be grouped into jobs and cost items, showing how much each has cost, and what can be charged.
The bit I am stuck on is this. I have created a lookup so when you fill out the diary a combo box comes up with the list of jobs. What I then need to happen is to be able to select the cost items relevant to that job, as each job may have a completely different list of job items. I also need to be able to add to this list of items at any time, and add new jobs to the database.
I believe what I'm trying to do is a cascading combo box but I'm struggling after googling it to find my solution. I am a relative beginner to access.
I will get all this working as tables and then create forms as a user friendly way for inputting the data. I have attached a rough copy of the database so you can see what I'm talking.
Hope this makes sense.
Many thanks for any help.
Ali
I wondered if someone might be able to help me please. I'm trying to create a database for my construction firm. This is the general structure of it:-
I have the following tables set up:-
tbljob with the fields:-
JobID (primary key)
Job Name
Job Address
Client Name
Client Address
Client Phone
Client Mobile
Client Email
tblcostitem with the fields:-
CostItemID (primary key)
Job Name
Item Name
tbldiary with the fields:-
Date
Job Name --> lookup to tbljob
Cost Item --> lookup to tblcostitem
StaffID --> lookup to tblstaff
Hours
tblstafff with the fields:-
StaffID (primary key)
Worker
Cost Rate
Charge Rate
The idea of it is that I want to record a diary of what worker has worked on what job, and doing what item of that job for how many hours. I can then produce a report that can show all data, or be grouped into jobs and cost items, showing how much each has cost, and what can be charged.
The bit I am stuck on is this. I have created a lookup so when you fill out the diary a combo box comes up with the list of jobs. What I then need to happen is to be able to select the cost items relevant to that job, as each job may have a completely different list of job items. I also need to be able to add to this list of items at any time, and add new jobs to the database.
I believe what I'm trying to do is a cascading combo box but I'm struggling after googling it to find my solution. I am a relative beginner to access.
I will get all this working as tables and then create forms as a user friendly way for inputting the data. I have attached a rough copy of the database so you can see what I'm talking.
Hope this makes sense.
Many thanks for any help.
Ali