Hi all. I've been noodling with creating a contact list of contractors and one of the functions I need it to serve is bringing up lists of contractors based on their discipline (HVAC, electrical, etc.). I was advised a little while ago on the pitfalls of MVFs and adjusted to using a junction table, which so far has worked very well. I haven't tried to tackle bringing that information into my main continuous form yet, as I know that'll require more tussle with VBA than I'm up for at the moment, but I've been trying to make a query that can break them out into smaller forms.
The query functions, but the problem is that I'm getting duplicate records when querying multiple parameters. As an example, a lot of commercial plumbing contractors also do HVAC, so these would likely be searched together, but when I do the records come up twice. I've searched around and I've tried putting SELECT DISTINCT and DISTINCTROW in my query and it hasn't changed the result. Any advice?
The query functions, but the problem is that I'm getting duplicate records when querying multiple parameters. As an example, a lot of commercial plumbing contractors also do HVAC, so these would likely be searched together, but when I do the records come up twice. I've searched around and I've tried putting SELECT DISTINCT and DISTINCTROW in my query and it hasn't changed the result. Any advice?