Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Make Table Query, Count Assignment 1

Status
Not open for further replies.

brahmabull525

Programmer
Jul 19, 2004
33
US

In Access, I'd like to create a Make Table Query that assigns an ascending "count" based on ID and Date. The data I have in a table right now looks like this:

ID Date
1 5/1/05
1 5/2/05
1 5/3/05
2 5/1/05
2 5/2/05
2 5/3/05

I'd like the Make Table Query to create an additional column in a new table called "Count". The final table would looke like:

ID Date Count
1 5/1/05 1
1 5/2/05 2
1 5/3/05 3
2 5/1/05 1
2 5/2/05 2
2 5/3/05 3

Help on how to do this would be greatly appreciated!!

Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top