UtterAccess.com
X   Site Message
(Message will auto close in 2 seconds)

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Combine Values From Multiple Fields (not Concatenate), Office 2007    
 
   
schreinman
post Jan 20 2012, 11:11 AM
Post #1

UtterAccess Addict
Posts: 164
From: California



I have a table with POC1, POC2 and POC3 and would like to populate a search field with a query that lists ALL POCs, whether they are found in POC1, 2, or 3. Can someone help me write a query that can list all POCs??? If this happens to be too easy, is there a way to avoid duplicate POCs (if they are listed as POC1 in one record and possibly POC2 or 3 in another)?

Thanks for any help you can provide!
Go to the top of the page
 
+
Bob G
post Jan 20 2012, 11:17 AM
Post #2

UtterAccess VIP
Posts: 8,117
From: CT



it sounds like you are running into the problem based on a non normalized DB. Is your table setup like it would be in Excel? If you have the time you may want to fix the DB before going further.
There are many threads here on normalization.

if not, let us know and we can see where to go next
Go to the top of the page
 
+
schreinman
post Jan 20 2012, 11:53 AM
Post #3

UtterAccess Addict
Posts: 164
From: California



The database is normalized except for this one area. I limit my users to three POCs per Organization in a form, which is more than adequate for our use. So I do have a POC table that captures all the POC details, but my Organization table has three fields for POCs...
Go to the top of the page
 
+
Bob G
post Jan 20 2012, 12:14 PM
Post #4

UtterAccess VIP
Posts: 8,117
From: CT



you could do this a few ways depending on which you are most comfortable with. Create a table where you append the results from a query for each of the 3 POCs at which point you would then have a more normal table to work with.
You could probably do it all with a few queries together but that might be a little more trouble. Or you can write it all in VBA.

at least a few ideas
Go to the top of the page
 
+

Thank you for your support! Reply to this topicStart new topic

Jump To Forum:
 



RSS Go to Top  ·  Lo-Fi Version Time is now: 21st May 2013 - 03:31 AM