Results 1 to 2 of 2
  1. #1
    Purple_Heart is offline Novice
    Windows 7 64bit Access 2010 32bit
    Join Date
    Aug 2012
    Posts
    1

    Putting deifferent records into one record

    HI there



    I have build about 4 data basis so far as I am learning Access 2010, all on the same subject. Each time learning more.
    At the moment I am stuck with a few problems bu lets try to sort them out one by one.

    I have the following table with records (Just some of the data)

    ID.. Animal...... Date............ Weight
    1... AR001V.... 2012/02/16.... 400
    2... AR002V.... 2012/02/16.... 370
    3... AR003V.... 2012/02/16.... 430
    4... AR002V.... 2012/03/11.... 380
    5... AR003V.... 2012/03/11.... 440
    6... AR001V.... 2012/04/22.... 405
    7... AR002V.... 2012/04/22.... 385

    I need to put the weights and dates of all the same "Animals" together like so:

    ID... Animal... 2012/02/16... 2012/03/11... 2012/04/22
    1.... AR001V.. 400................................. 405
    2.... AR002V.. 370............. 380.............. 385
    3.... AR003V.. 430............. 440

    I have gotten this working with a cross-tab query but I then need to work on the results further which I can not do then. For instance I then need to work out the average of the weight for that day, and also the average of the animal over those days. Also of coarse the amount of dates and weights will increase every month or two

    Have been trying everything the past three days and now need some outside help cause my brain in on information overload...

    Thanks allot

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,632
    Use aggregate (GROUP BY) queries to generate statistical data.

    Crosstab queries are dynamic in that the column outputs are continually changing. Stabilizing a crosstab so report will perpetually run is tricky.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Putting Picture in database
    By adifa in forum Queries
    Replies: 12
    Last Post: 07-03-2012, 06:34 PM
  2. Putting Rows in to columns
    By HowardlyDog in forum Queries
    Replies: 1
    Last Post: 06-29-2012, 01:39 PM
  3. Help with putting QUERY in a Range
    By taimysho0 in forum Programming
    Replies: 3
    Last Post: 02-15-2012, 06:29 PM
  4. Putting an Expression in a Field Box
    By MWB in forum Queries
    Replies: 4
    Last Post: 11-02-2010, 06:58 AM
  5. Putting a Finished Database up on the Network
    By Imgsolutions in forum Access
    Replies: 1
    Last Post: 07-14-2010, 03:56 AM

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