Hi all
I am writing a db for the company I work for.
It is an Order Entry / Enquiry Form / Job Tracking database.
Our Company is a consultancy for which equipment is taken out on jobs to do measurements of sound etc.
Anyway, one of the features of my db is that I want to include an equipment booking section.
I have a Tbl_Project and a Tbl_Equipment which are linked via the "Equiry#" field in both forms. This is to allow the Tbl_Equipment table to know which project it is tied to in a one-many relationship.
Thus there can be many bits of equipment for a single job, which is exactly what I need.
Now, in my form, I have allowed for up to 8 bits of equipment, but the problem is that even though I've named each set differently, (a set is Equipment_Model, Equipment_Brand and Equipment_Type), they all have the same "record control" and if one bit of equipment is selected in one section, then all the equipment sections change to that type.
The "equipment form" is a subform in the main "enquiry form" and the page with this subform on is only made visible if a checkbox is checked on the home page of the enquiry form that says that the enquiry has been made into a live project.
How do I make it so that each equipment section is independent?
I'm thinking I do this with VBA code in the Form_Equipment module...? (hence why I've posted this in here and not forms).
I've attached some screen shots which I thought might be helpful.
The following links take you there:
Form View
Design View
Table Design
Relationship
I really hope this made some sort of sense. If not, please ask and I shall try to explain / answer your question(s)
I am writing a db for the company I work for.
It is an Order Entry / Enquiry Form / Job Tracking database.
Our Company is a consultancy for which equipment is taken out on jobs to do measurements of sound etc.
Anyway, one of the features of my db is that I want to include an equipment booking section.
I have a Tbl_Project and a Tbl_Equipment which are linked via the "Equiry#" field in both forms. This is to allow the Tbl_Equipment table to know which project it is tied to in a one-many relationship.
Thus there can be many bits of equipment for a single job, which is exactly what I need.
Now, in my form, I have allowed for up to 8 bits of equipment, but the problem is that even though I've named each set differently, (a set is Equipment_Model, Equipment_Brand and Equipment_Type), they all have the same "record control" and if one bit of equipment is selected in one section, then all the equipment sections change to that type.
The "equipment form" is a subform in the main "enquiry form" and the page with this subform on is only made visible if a checkbox is checked on the home page of the enquiry form that says that the enquiry has been made into a live project.
How do I make it so that each equipment section is independent?
I'm thinking I do this with VBA code in the Form_Equipment module...? (hence why I've posted this in here and not forms).
I've attached some screen shots which I thought might be helpful.
The following links take you there:
Form View
Design View
Table Design
Relationship
I really hope this made some sort of sense. If not, please ask and I shall try to explain / answer your question(s)