Hi,
I'm trying to write some code in Access 2000. What i'm trying to do is count the number of records and update the coloum (Number). At the moment the column Number is blank. (I have just put in test data as example.) What i want to do is count the number of records and update the number coloum in sequence order, where the Name colum and date column are the same. If they are not the same then it will start at 1 again and carry on until it has gone through all the records.
Name_____Date___________Number
H_______ 01/01/2005___________1
H_______01/01/2005___________2
H_______01/01/2005 ___________3
H_______23/01/2005___________1
S_______01/01/2005___________1
S_______23/01/2005___________1
S_______30/01/2005___________1
S_______30/01/2005___________2
I'm trying to write some code in Access 2000. What i'm trying to do is count the number of records and update the coloum (Number). At the moment the column Number is blank. (I have just put in test data as example.) What i want to do is count the number of records and update the number coloum in sequence order, where the Name colum and date column are the same. If they are not the same then it will start at 1 again and carry on until it has gone through all the records.
Name_____Date___________Number
H_______ 01/01/2005___________1
H_______01/01/2005___________2
H_______01/01/2005 ___________3
H_______23/01/2005___________1
S_______01/01/2005___________1
S_______23/01/2005___________1
S_______30/01/2005___________1
S_______30/01/2005___________2