Hi,
I have two tables called "Employees" and "Categories".
The table "Employees" was imported from an Excel-file.
Table "Employees": Fields: "EmployeeID", "Name", "CategoryID", "Field4", "Field5" etc.
Table "Categories"
Fields: "CategoryID" and "Category".
There are 10 categories. Tables are linked by the CategoryID. Now, I want to make a new table from these two tables in which each employee must show the 10 categories even if there is no record for that category in the table "Employees", which I can then export to an Excel-file again. For example:
Table "Employees":
Employee1 - CategoryID1
Employee1 - CategoryID3
Employee2 - CategoryID1
Employee3 - CategoryID2
Employee3 - CategoryID5
In my new table I want to have this:
Employee1 - CategoryID1
Employee1 - CategoryID2
Employee1 - CategoryID3
...
Employee1 - CategoryID10
Employee2 - CategoryID1
Employee2 - CategoryID2
Employee2 - CategoryID3
...
Employee10 - CategoryID10
and so on.
Can this be done only with queries?
Who can help me out with this one?
Thanks already.
Pascal
I have two tables called "Employees" and "Categories".
The table "Employees" was imported from an Excel-file.
Table "Employees": Fields: "EmployeeID", "Name", "CategoryID", "Field4", "Field5" etc.
Table "Categories"
Fields: "CategoryID" and "Category".
There are 10 categories. Tables are linked by the CategoryID. Now, I want to make a new table from these two tables in which each employee must show the 10 categories even if there is no record for that category in the table "Employees", which I can then export to an Excel-file again. For example:
Table "Employees":
Employee1 - CategoryID1
Employee1 - CategoryID3
Employee2 - CategoryID1
Employee3 - CategoryID2
Employee3 - CategoryID5
In my new table I want to have this:
Employee1 - CategoryID1
Employee1 - CategoryID2
Employee1 - CategoryID3
...
Employee1 - CategoryID10
Employee2 - CategoryID1
Employee2 - CategoryID2
Employee2 - CategoryID3
...
Employee10 - CategoryID10
and so on.
Can this be done only with queries?
Who can help me out with this one?
Thanks already.
Pascal