Ryan,
First, I'm assuming you are using the OOB Contacts and Products
tables. If so, then you are correct, there are no relationships
between these tables. That's because Products is like a reference
table. I suspect what you need to do is focus on the third table
where these two tables (Contacts and Products) both have a
relationship. For example, Orders. (Whatever table indicates that
this Contact purchased this Product - as you mentioned above that the
Contacts have "purchased products"...)
So, let's just assume Orders is where you store the purchased
products. Try writing the advanced find with the Orders entity as the
primary entity. Then, you should find a relationship from Orders to
Contacts. Use that one to find all contacts that Allow Email. Then,
using the relationship between Orders and Products, you can select the
Products one, and enter the Department you are looking for in that
part of the query....
HTH,
Dave
-------------------------------------------
David L. Carr, President
Visionary Software Consulting, Inc.
Certified Microsoft CRM 4.0 Consultant
Cell: 503-351-4207
Email: david...@earthlink.net
http://www.vscrm.com