473,378 Members | 1,578 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Running Count For Each Group in Accss Query

I have an Access Query. I want a running counter for each WBS Code group.

Expand|Select|Wrap|Line Numbers
  1. WBSCode    Required Result (In DeliverableID)
  2. MF7375.PI00810000     1
  3. MF7375.PI00810000     2
  4. MF7375.PI00810000     3
  5. MF7375.PI00810000     4
  6. MF7375.PI00920000    1
  7. MF7375.PI00920000    2
  8. MF7375.PI01105000    1

Please refer "qry_Deliverables" of the attachd zipped database.
Appreciate help from experts.
Attached Files
File Type: zip InControl Resources - Rev-02.zip (77.5 KB, 85 views)
May 28 '15 #1
1 1302
zmbd
5,501 Expert Mod 4TB
1) Sorry your post was overlooked. Busy days and few hands :)

2) As a rule, most experts and moderators will not download unrequested attachments. We tend to work on secured servers at work; thus, by local IT policy such is not allowed.

3) What you are requesting is not uncommon, it is not however the norm for a query; however, a little more detail...

In a query the order may change what happens in the following case:
Expand|Select|Wrap|Line Numbers
  1. WBSCode    Required Result (In DeliverableID)
  2. MF7375.PI00810000     1
  3. MF7375.PI00810000     2
  4. MF7375.PI00810000     3
  5. MF7375.PI00920000    1
  6. MF7375.PI00920000    2
  7. MF7375.PI01105000    1
  8. MF7375.PI00810000     Do you want 1 or 4
and we'll progress from there based on your answer.
Jul 10 '15 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Louis | last post by:
Is there a switch or a setting in Access so that a group by query doesn't return a field name SumOf(original field name)? Especially when you chain multiple queries together you'd get...
1
by: sammy | last post by:
If you have a select with 2 attributes where you group by one attribute and do a count() for the second attribute, if the count() is 0 then that row is never displayed. How would you instead see...
1
by: richforsandy | last post by:
I am working with a two field table of 144,020 rows. The PERSONID field is the FK and the ADDRESSID is the PK. FK is a number type, PK is autonumber. PERSONID represents employees,...
2
by: laurenquantrell | last post by:
I have a table with 6 million rows. I'm trying to perform a group by query that incudes a row count of the PK column: SELECT COUNT(DataID) AS Cnt, Column1Name FROM dbo.TableName WHERE...
3
jenkinsloveschicken
by: jenkinsloveschicken | last post by:
I am somewhat new to Access and have been tasked with creating a reporting database for my operation. The problem I am having is that I am needing to use the Count function to calculate total...
1
by: Vikas | last post by:
Hi all, I am working on a document control database where I have a table "tblControl" containing two columns "DocID" and "SchIssueDate". "DocID" is the key field with text format while...
1
by: loki419 | last post by:
I have a simple select query that produces results similar to this LOCATION FUNCTION 001 1111 001 1111 100 1111 100 ...
2
by: dilippanda | last post by:
Hi, Please help me in the following query. SELECT a.bcast_id , a.bcast_file_nm ...
7
by: Margie | last post by:
With information gathered from a question I posted 3 weeks ago, I made the following query for my movie database: SELECT Nation.Nation, LinkFilmNation., Count(*) AS Total, Avg(Film.) AS FROM Film...
1
by: Michael Franz | last post by:
Hi! I am quite new in access and had not taken a programer course. I just learned access through research, so please do understand me cause I realy need help on this one. Any info is very much...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.