Here is my dilemma:
I have an Access DB and a VB.Net form I've created.
An important part of this program is a Tracking number I've created VB side. The format they have asked for is a sequential number followed by a year, like this 1-2005, 2-2005 ect.
How I created this number is by reading in all the rows from the DB into a Dataset.
I then count the number of Rows and add one to this for the new entry.
They would like it changed however so that it starts re-numbering at 1 with each new year, like 9999-2005, 1-2006, 2-2006 ect.
I really don't know how I can do this. Any ideas?
I have an Access DB and a VB.Net form I've created.
An important part of this program is a Tracking number I've created VB side. The format they have asked for is a sequential number followed by a year, like this 1-2005, 2-2005 ect.
How I created this number is by reading in all the rows from the DB into a Dataset.
I then count the number of Rows and add one to this for the new entry.
They would like it changed however so that it starts re-numbering at 1 with each new year, like 9999-2005, 1-2006, 2-2006 ect.
I really don't know how I can do this. Any ideas?