Results 1 to 2 of 2
  1. #1
    alexandermorris is offline Novice
    Windows Vista Access 2000
    Join Date
    Feb 2010
    Posts
    1

    Condensing Rows of Data into one Cell

    I've got an Access database for my shopping cart and I think I can manage to do most of what I want with it. But Unfortunately the shopping cart I use will not assign a SKU to the final combination of product attributes chosen by the customer. Instead the shopping cart creates a new row of data for each product attribute under each order item. I need to condense those rows into essentially one sku that is associated with the order item.

    This is over my head. I will pay to have this done within Access. Can anyone help me with this? If this is not the right place to post I apologize. This is my first time to this forum.

    Thanks!

    Cherie

  2. #2
    NassauBob's Avatar
    NassauBob is offline Not THAT Green
    Windows Vista Access 2007
    Join Date
    Feb 2010
    Location
    Augusta, GA
    Posts
    61

    Smile

    So you need to concatenate several columns into one? Am I understanding you right?

    In a query, you can create a custom field, and do that very thing. Here's how:

    1)In query design view, start by giving a new, empty field a custom name, like SKU. Follow the name with a :, like SKU:

    2) after the semicolon and a space, enter the names of the columns you need to combine, in order, with a & between each, like this: SKU: [columnA] & [columnB] & [columnC].....until you have all the columns you require.

    I hope that helps. In my opinion, it is better that you make a query to view that kind of combination of data, and not to have it permanently joined in your table. You never know when you might want any one of those individual pieces, and it's more tedious to separate a piece than to combine them :-)

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 7
    Last Post: 12-11-2009, 01:44 AM
  2. Combine multiple rows into one cell
    By zarfx4 in forum Queries
    Replies: 8
    Last Post: 06-08-2009, 10:42 AM
  3. change cell color
    By bishop743 in forum Programming
    Replies: 0
    Last Post: 02-01-2009, 11:00 AM
  4. Inserting into multible cell
    By Intersysop in forum Access
    Replies: 1
    Last Post: 10-19-2006, 08:07 AM
  5. Can we post Access cell data to Excel cell properties?
    By Zethro in forum Import/Export Data
    Replies: 1
    Last Post: 12-13-2005, 08:42 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums