Results 1 to 9 of 9
  1. #1
    nizam is offline Novice
    Windows Vista Access 2007
    Join Date
    Jun 2011
    Posts
    24

    To Bring The Datas in different rows for the Same date together

    Dear Friends
    Kindly help me to solve regarding one query

    I need to bring the datas in for different items for the "Same Date" as one result.

    Eg:
    Date ID No 1 ID No 2
    20-09-12 22 21
    20-09-12 45 46



    I need to return the result as,

    Date ID Nos
    20-09-12 22,21,45,46



    Like this

    How to build the expression.

    Please advise

  2. #2
    nizam is offline Novice
    Windows Vista Access 2007
    Join Date
    Jun 2011
    Posts
    24

    How to bring two rows together is qurey expression

    Dear Friend
    Plz advise me , how to bring 2 rows together in 1 expression in access qurey

  3. #3
    nizam is offline Novice
    Windows Vista Access 2007
    Join Date
    Jun 2011
    Posts
    24
    Plz advise.. very urgent

  4. #4
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    Can you provide more details?
    An example would be helpful.

  5. #5
    nizam is offline Novice
    Windows Vista Access 2007
    Join Date
    Jun 2011
    Posts
    24
    Date W
    26-Oct-11 HI-501,HI-222,HI-200,HI-503,HI-200,HI-503
    26-Oct-11 HI-501,HI-222,HI-210,HI-504,HI-200,HI-503
    27-Oct-11 HI-501,HI-222,HI-210,HI-209,HI-200,HI-503
    27-Oct-11 HI-501,HI-222,HI-501,HI-222,HI-200,HI-503
    27-Oct-11 HI-504,HI-222,HI-210,HI-209,HI-200,HI-503
    29-Oct-11 HI-501,HI-222,HI-210,HI-209,HI-200,HI-503
    29-Oct-11 HI-504,HI-222,HI-210,HI-209,HI-200,HI-503

    Dear,
    Please find the above table, made from a query.
    In that query see the date, 26-Oct-11 and the Column W is having 2 different datas.
    I need to bring the date only in one row and the datas for that 26-Oct-11, coming in 2 rows have to come in one row.

    This datas are the details of a production for different dates.
    For a same dat or date , there is different crews working in different areas for the same activity.
    I need to join together the production datas , named as "W" to come in one row for a same day/date

    please help

  6. #6
    JoeM is offline VIP
    Windows XP Access 2007
    Join Date
    Jun 2012
    Posts
    3,904
    I see that you had posted this question twice, and the Moderators merged them together.

    The data structure you are talking about really isn't normalized, and I don't know if it can be done without VBA. If it were me, I would probably use DAO Recordsets to loop through the query, and write the results to a new table. That new table obviously won't be dynamic, but I can't think of any better way.

    What is the reason for needing the data structured like this?

  7. #7
    nizam is offline Novice
    Windows Vista Access 2007
    Join Date
    Jun 2011
    Posts
    24
    I need to submit the datas of procution for each crew for the same together with the number of manpower involved in this in the same date.

  8. #8
    nizam is offline Novice
    Windows Vista Access 2007
    Join Date
    Jun 2011
    Posts
    24
    one related doubt..
    is it possible to use
    "are equal" function in query? if so how ?

  9. #9
    orange's Avatar
    orange is online now Moderator
    Windows XP Access 2003
    Join Date
    Sep 2009
    Location
    Ottawa, Ontario, Canada; West Palm Beach FL
    Posts
    16,848

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

Similar Threads

  1. Replies: 1
    Last Post: 07-26-2012, 10:20 AM
  2. Save datas in the table
    By monica in forum Programming
    Replies: 2
    Last Post: 04-13-2012, 07:03 AM
  3. Delete Rows with Same ID and Due Date??
    By taimysho0 in forum Programming
    Replies: 2
    Last Post: 03-01-2012, 12:14 PM
  4. Distinct Rows with Max Date
    By XUseMan in forum Queries
    Replies: 3
    Last Post: 02-28-2012, 09:13 AM
  5. select datas where equal to the max
    By rbg in forum Queries
    Replies: 0
    Last Post: 03-28-2011, 12:38 PM

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