I'm running a statement of transactions per vendor. My problem is that vendors with no transactions still printout with a blank subform. How can I filter those out?
Modify your main report's query to exclude vendors who have no transactions. For example,
SELECT VendorID, VendorName
FROM Vendors
WHERE VendorID IN
(SELECT DISTINCT VendorID FROM VendorTransactions) Rick Sprague
That's not code, it's an SQL statement. You could enter it into a query after you've switched it to SQL view. However, don't take that sample statement literally--it's meant to show that you should include an IN clause with a subquery to limit the vendor IDs.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.