Wrox Programmer Forums
|
Access Discussion 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
 
Old April 10th, 2007, 02:57 PM
Authorized User
 
Join Date: Feb 2007
Posts: 88
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to toddw607 Send a message via Yahoo to toddw607
Default easy Access query

   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

 
Old April 10th, 2007, 02:58 PM
Authorized User
 
Join Date: Feb 2007
Posts: 88
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to toddw607 Send a message via Yahoo to toddw607
Default

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;


 
Old April 10th, 2007, 04:47 PM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 471
Thanks: 0
Thanked 1 Time in 1 Post
Default

Todd,
Do you have any groupings set for your report?
If you create a part number group header, then in the detail line only show the index's.

HTH,
Kevin

dartcoach





Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with access query jrobertson Access VBA 6 January 25th, 2007 05:49 PM
Access Query gre_smi SQL Server 2000 2 January 11th, 2006 08:59 AM
Easy Ques -- Datetime validation for Access bekim Access 2 June 16th, 2005 01:52 PM
need access query kale_tushar Access 2 January 3rd, 2005 05:26 AM
Access: need a Query. please help me... alienscript Access VBA 1 December 14th, 2003 01:02 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.