Results 1 to 2 of 2
  1. #1
    JimtheRookie is offline Novice
    Windows 8 Access 2010 64bit
    Join Date
    Mar 2013
    Posts
    1

    Sequential counting in a separate column based on values in other columns

    Hi, I need help with a query that sequentially counts the number of like items in a database. The screen shot below describes what I need. I need the formula that creates the value in the "Item Number" column. This formula would have to reference the row prior to determine the value it placed in the "Item Number" column. I only know enough to Access to get into trouble. Thanks!
    Attached Thumbnails Attached Thumbnails Example.jpg  

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,630
    Google: Access query row number rank by group

    Here is one http://bytes.com/topic/access/answer...ws-based-group

    Will need a unique ID field in table.

    Alternative is to create report and set RunningSum property of textbox along with Grouping & Sorting features.
    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. Replies: 2
    Last Post: 05-17-2012, 03:52 PM
  2. Replies: 5
    Last Post: 03-29-2012, 09:21 PM
  3. Replies: 2
    Last Post: 12-05-2011, 04:53 AM
  4. Replies: 3
    Last Post: 08-08-2011, 11:02 AM
  5. inserting values in column based another column
    By wasim_sono in forum Database Design
    Replies: 1
    Last Post: 06-27-2006, 05:23 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