?
Solved

Crete unique table with concatenation of second field

Posted on 2014-03-04
4
Medium Priority
?
277 Views
Last Modified: 2014-03-05
access 2010

What I have :
1 table  =MyTable
2 fields
MySku-text-dups
MyDesc-text-dups


I have data in the table like this

MySku            MyDesc
1234A            Apples
3EER4             Oranges
1234A            Peaches
232AW           PIE
3EER4             PINEAPPLE


What I need:

I need to create a new query like this:
Concatenate the MyDesc into one line
1234A              APPLES:PEACHES
3EER4               ORANGES:PINEAPPPLE
232AW             PIE


etc....



Thanks
fordraiders
0
Comment
Question by:Fordraiders
  • 2
4 Comments
 
LVL 7

Expert Comment

by:COACHMAN99
ID: 39905232
0
 
LVL 3

Author Comment

by:Fordraiders
ID: 39905569
coachman99, no thanks, but using methods not in vba
0
 
LVL 40

Accepted Solution

by:
als315 earned 2000 total points
ID: 39905636
You can take sample from recent question:
Q_28377250
Sample is based on  function DConcat from Patrick G. Mattews article:
Domain Aggregate for Concatenating
0
 
LVL 3

Author Closing Comment

by:Fordraiders
ID: 39905744
That worked perfect...
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Code that checks the QuickBooks schema table for non-updateable fields and then disables those controls on a form so users don't try to update them.
Sometimes MS breaks things just for fun... In Access 2003, only the maximum allowable SQL string length could cause problems as you built a recordset. Now, when using string data in a WHERE clause, the 'identifier' maximum is 128 characters. So, …
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question