Results 1 to 4 of 4
  1. #1
    IMmapping is offline Novice
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Oct 2010
    Posts
    3

    Count Related Records


    I'm coming from the GIS side, so I understand databases, but am having a horrible time with Access.

    I am mapping bicycle accidents around Denver, CO for my thesis and trying to perform a count on a related table. So, first I want to know how many accidents are at each intersection. I'm following Access' help but am curious if anyone knows any better tutorials.

    I've created the relationship I need, but can't comprehend my query.

    Thanks,
    Ian

  2. #2
    SoftwareMatters is offline Access VBA Developers
    Windows XP Access 2003
    Join Date
    Mar 2009
    Location
    Dorset
    Posts
    274
    For this query all you need to add is the intersection and the accident columns. Do a group by on the intersection column and a count on the accident column.

  3. #3
    IMmapping is offline Novice
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Oct 2010
    Posts
    3
    Thanks for the fast response, I knew the theory but you explained it simple enough so I could figure it out! Now it's about to get a lot more complicated...

  4. #4
    IMmapping is offline Novice
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Oct 2010
    Posts
    3
    I played with that a bit last night, but now I need to count a bunch of things on a related record. I will be counting types of parcels on a street. Do I have to create separate queries for each parcel type?

    Thanks,
    Ian

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

Similar Threads

  1. Count IIf based on records above and below
    By William McKinley in forum Queries
    Replies: 19
    Last Post: 09-17-2010, 04:49 PM
  2. Replies: 6
    Last Post: 09-01-2010, 03:12 PM
  3. Count Unique Records
    By PonderingAccess in forum Queries
    Replies: 2
    Last Post: 08-19-2010, 06:54 AM
  4. Count of records
    By Aston in forum Access
    Replies: 2
    Last Post: 03-30-2010, 05:20 AM
  5. Count of records
    By Bruce in forum Forms
    Replies: 3
    Last Post: 03-22-2010, 01:30 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