| | |
SQL Query - Filtering Address
Please support our C# advertiser: Intel Parallel Studio Home
![]() |
Hi Guys
I hope you can help share some light on my problem.
Basically, I have a MS Access table...ID, firstname, surname, Address1, Address2 etc
What I want to do is Select all from table but only show one record where more than one person lives at that address .. Eg only sending one envelope to the one household rather than sending two to the same address ....
I wouldnt have thought it was overly complex, however the combinations that I have been trying from the query builder havent worked ..
I can get a count of the number of records where the same address exists but I can't display a first name aswell.
Your suggestions will be greatly welcomed ... Thanks
Elmo
I hope you can help share some light on my problem.
Basically, I have a MS Access table...ID, firstname, surname, Address1, Address2 etc
What I want to do is Select all from table but only show one record where more than one person lives at that address .. Eg only sending one envelope to the one household rather than sending two to the same address ....
I wouldnt have thought it was overly complex, however the combinations that I have been trying from the query builder havent worked ..
I can get a count of the number of records where the same address exists but I can't display a first name aswell.
Your suggestions will be greatly welcomed ... Thanks
Elmo
Last edited by Elmo_loves_you; Sep 15th, 2008 at 12:40 pm. Reason: spelling error
Michelle (Junior Developer)
•
•
Join Date: Aug 2008
Posts: 1,160
Reputation:
Solved Threads: 137
you could also use a group by for your address criteria
http://office.microsoft.com/en-us/ac...314821033.aspx
http://office.microsoft.com/en-us/ac...314821033.aspx
Custom Application & Software Development
www.houseshark.net
www.houseshark.net
![]() |
Other Threads in the C# Forum
- Previous Thread: c# and phidget RFID
- Next Thread: Stupid Question
| Thread Tools | Search this Thread |
.net access algorithm alignment app array barchart bitmap box broadcast c# c#gridviewcolumn check checkbox client combobox communication control conversion csharp custom database datagrid datagridview dataset datatable datetime degrees development draganddrop drawing elevated encryption enum event excel file focus form format forms function gdi+ hospitalmanagementsystem httpwebrequest image index input install java label list listbox localization login mandelbrot math messagebox mouseclick mysql operator path photoshop picturebox pixelinversion plotting pointer post programming radians read regex remote remoting richtextbox server sleep socket sql statistics stream string stringformatting sun table text textbox thread time timer update usercontrol validation visualstudio webbrowser whileloop windows winforms wpf xml






