I want to create a subform based on a query that reflects the following:
Employee 1 - Code 1, Name - How many times
Code 2, Name - How many times
The tables are: tblCodes, tblEmployee, tblMasterFile (where the employee is associated with MasterFile and Codes), jtblCodeMasterFile, jtblEmployeeMasterFile (jtbl are the joins in a Many-to-Many relationship).
The Main form is an Employee History
Tab 1 - History of MasterFile - by Employee
Tab 2 - Codes (how many per code per Employee)
So, the employee is on many different MasterFiles, and can have 1 or more codes associated (there also can be 1 or more employees on each MasterFile)
If you are confused,%-) sorry - it really does seem simpler. I know it is a COUNT function in the query. All that needs to show in the subform (Tab 2) is:
Count CodeNumber CodeName Emp#(NotVisible for Parent/Child relationship form/subform)
2 25 CodeName25 P0000
1 5 CodeName5 P0000
1 8 CodeName8 P0000
and so on.....
Thank you for your help! :-{}
Rona
res07pyp@verizon.net
Employee 1 - Code 1, Name - How many times
Code 2, Name - How many times
The tables are: tblCodes, tblEmployee, tblMasterFile (where the employee is associated with MasterFile and Codes), jtblCodeMasterFile, jtblEmployeeMasterFile (jtbl are the joins in a Many-to-Many relationship).
The Main form is an Employee History
Tab 1 - History of MasterFile - by Employee
Tab 2 - Codes (how many per code per Employee)
So, the employee is on many different MasterFiles, and can have 1 or more codes associated (there also can be 1 or more employees on each MasterFile)
If you are confused,%-) sorry - it really does seem simpler. I know it is a COUNT function in the query. All that needs to show in the subform (Tab 2) is:
Count CodeNumber CodeName Emp#(NotVisible for Parent/Child relationship form/subform)
2 25 CodeName25 P0000
1 5 CodeName5 P0000
1 8 CodeName8 P0000
and so on.....
Thank you for your help! :-{}
Rona
res07pyp@verizon.net