Results 1 to 2 of 2
2004-06-18, 19:23 #1
- Join Date
- Jan 2001
- Redcliff, Alberta, Canada
- Thanked 5 Times in 5 Posts
Assigning a new ID number in a Query (Access 2002)
I want to write a query that will create an ID number for each of the resulting records.
I have a query that gives me the current members of a group (this information will change as people are assigned and reassigned from the group). They are listed alphabetically.
I want to be able to refer to the first record, second record, third record, etc. in the results of the above query.
I though the best way to accomplish this would be to assign each record a temporary ID number that I could then use as a reference to pull specific records out of the query.
Any suggestions?[b]Catharine Richardson (WebGenii)
WebGenii Home Page
Moderator: Spreadsheets, Other MS Apps, Presentation Apps, Visual Basic for Apps, Windows Mobile
2004-06-18, 19:37 #2
- Join Date
- Mar 2002
- Thanked 29 Times in 29 Posts
Re: Assigning a new ID number in a Query (Access 2002)
See if you can adapt the solutions provided in the thread starting at <post#=250833>post 250833</post#>. Your situation is actually simpler, since you don't need to group the records. Post back if you need more assistance.