I need some help figuring out the best structure for a database I'm working on. Basically, it has three main types of data in each record: A name, which "category" that name falls under, and then a list of customizable attributes based on their category (set number of 5 attributes, unlimited categories). I'm coming from another language (using SQL) which compiles all this data into a single database, and I'm writing it all to a single table. I just need to figure out how to pull it out of the table, put the correct column headings on it, and then pop it into a report. An example would be:
First Column: Name
Second Column: Work Unit (examples: marketing, warehouse, etc)
Third Column: Attribute 1
Fourth Column: Attribute 2
etc.
Now, using this example again, Attribute 1 for marketing would be total sales, but Attribute 2 for warehouse would be total items stocked. But they would both be written to this main table under Attribute 1.
How do I tie this information together? I need a report, individual to the area, that will give the results for each attribute, along with the name. I would imagine I have to do a query and a report for each "category"; do I also need an extra table that defines the name of each attribute?
Or is there another way that would be better? I haven't really planned a complex database up to this point, so I don't always understand how to use the full capabilities of MS Access. thanks for your help!
First Column: Name
Second Column: Work Unit (examples: marketing, warehouse, etc)
Third Column: Attribute 1
Fourth Column: Attribute 2
etc.
Now, using this example again, Attribute 1 for marketing would be total sales, but Attribute 2 for warehouse would be total items stocked. But they would both be written to this main table under Attribute 1.
How do I tie this information together? I need a report, individual to the area, that will give the results for each attribute, along with the name. I would imagine I have to do a query and a report for each "category"; do I also need an extra table that defines the name of each attribute?
Or is there another way that would be better? I haven't really planned a complex database up to this point, so I don't always understand how to use the full capabilities of MS Access. thanks for your help!