EternalMyrtle
I'm still alive
- Local time
- Today, 09:06
- Joined
- May 10, 2013
- Messages
- 533
Hello,
I am finding that I have to do very complex queries to get reports the way I want them due to all the junction tables in my database.
For example, I have a report of all of our employees by title and I want to be able to add the employee's credentials to the end of their name separated by commas (so "Contact Name, Credential 1, Credential 2", etc.).
The report is based on a query "qryCurrentEmployees", which is just contacts filtered.
All the employees' credentials are in a junction table called
tblContactsCredentials
ContactsCredsID
ContactID
CredentialID
When I add the tblContactsCredentials to qryCurrentEmployees, employees with more than one type of credential are listed more than once. I got around that by putting the credential information into the row source of the ContactID on the report rather than in the main query and using an unbound text box with a calculated expression but I can only show one credential for each contact. Some people have 3+. Is there some way to get this to work?
I feel like this is a recurring issue for me and I have not found an ideal way to resolve it.
Many thanks to any one willing to help.
I am finding that I have to do very complex queries to get reports the way I want them due to all the junction tables in my database.
For example, I have a report of all of our employees by title and I want to be able to add the employee's credentials to the end of their name separated by commas (so "Contact Name, Credential 1, Credential 2", etc.).
The report is based on a query "qryCurrentEmployees", which is just contacts filtered.
All the employees' credentials are in a junction table called
tblContactsCredentials
ContactsCredsID
ContactID
CredentialID
When I add the tblContactsCredentials to qryCurrentEmployees, employees with more than one type of credential are listed more than once. I got around that by putting the credential information into the row source of the ContactID on the report rather than in the main query and using an unbound text box with a calculated expression but I can only show one credential for each contact. Some people have 3+. Is there some way to get this to work?
I feel like this is a recurring issue for me and I have not found an ideal way to resolve it.
Many thanks to any one willing to help.