I am a very new Access user, and I have been able to get the information I want from my tables in a form with linked forms and subforms. However, I think it might be an inefficient way to getting where I want to be because updating it is very tedious.
I have two tables -
Attribute Table has Product, AttributeName, AttributeValue
Category Table has Product and Category.
What I need is the ability to select a category and the form to pull up all attributes found in that category (any product). When I click on an attribute, I want two subforms - one that shows me which products in this category have that attribute and one that shows me which products in this category do NOT have that attribute.
Like I said, I have achieved this. However, I had to use several MKTBL queries in order to get the one-to-many relationships needed for the linked forms. As far as I can tell, I can't use queries for the linked forms because I can't define one-to-many relationships using queries.
So, for now, I am doing a MKTBL query to find distinct categories, products and attributes; a MKTBL query to find distinct categories and attributes; a MKTBL query to find distinct categories; and a MKTBL query to find the products without the attribute. So, each time I update the data, I have to delete the relationships with these made tables, recreate them and add the relationships back. It does work, but I'm assuming there has to be a better way.
My other question is whether this can be done more simply or even at all in Crystal Reports, which I'm learning simultaneously.
Thanks for any help you can offer!
I have two tables -
Attribute Table has Product, AttributeName, AttributeValue
Category Table has Product and Category.
What I need is the ability to select a category and the form to pull up all attributes found in that category (any product). When I click on an attribute, I want two subforms - one that shows me which products in this category have that attribute and one that shows me which products in this category do NOT have that attribute.
Like I said, I have achieved this. However, I had to use several MKTBL queries in order to get the one-to-many relationships needed for the linked forms. As far as I can tell, I can't use queries for the linked forms because I can't define one-to-many relationships using queries.
So, for now, I am doing a MKTBL query to find distinct categories, products and attributes; a MKTBL query to find distinct categories and attributes; a MKTBL query to find distinct categories; and a MKTBL query to find the products without the attribute. So, each time I update the data, I have to delete the relationships with these made tables, recreate them and add the relationships back. It does work, but I'm assuming there has to be a better way.
My other question is whether this can be done more simply or even at all in Crystal Reports, which I'm learning simultaneously.
Thanks for any help you can offer!