473,405 Members | 2,154 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,405 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 1306
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...
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: 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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.