AccessDiscussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Hi Everyone,
I'm trying to take 2 fields from an Access DB and put them in a report using a query. I want the query to display a part number and a figure index. I only want the part number to be displayed once and the figure index to be displayed as many times as it exists. I tried to filter the query by setting the "unique value" property to yes in the properties window but that didn't work. Anyone know what to do? THanks
Here is my SQL:
SELECT DISTINCT IPBData.[Part No], IPBData![Fig No] & "-" & IPBData!Index AS Expr1
FROM IPBData
WHERE (((IPBData.[Part No]) Is Not Null))
ORDER BY IPBData.[Part No], IPBData![Fig No] & "-" & IPBData!Index;