| | |
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 array asp barchart bitmap box broadcast buttons c# check checkbox client column combobox control conversion csharp custom database datagrid datagridview dataset datetime degrees development display draganddrop drawing encryption enum equation event excel file form format formbox forms formupdate function gdi+ httpwebrequest image index input install java label linux list listbox mandelbrot math mouseclick mysql networking operator packaging parse path photoshop picturebox pixelinversion post powerpacks programming radians regex remote remoting reporting richtextbox robot server sleep socket sql statistics stream string table text textbox thread time timer transform treeview update usercontrol validation visualstudio webbrowser wfa windows winforms wpf xml






