M
Mr. B
I have a small MS db which I update daily with new info. I've noticed that
the ID numbers are increasing sequentially. How can I reset them back to 1
when I purge my data prior to adding in the new stuff?
Here is how I'm currently deleting the info from my db (TSUpdate):
Private Sub ClearMyData()
' Open Connection and Clear Data
OleDbConnection1.Open()
Dim MyCommand As New OleDbCommand("DELETE FROM TSUpdate",
OleDbConnection1)
MyCommand.ExecuteNonQuery()
OleDbConnection1.Close()
MyCommand.Dispose()
End Sub
Thanks in advance!
Bruce
the ID numbers are increasing sequentially. How can I reset them back to 1
when I purge my data prior to adding in the new stuff?
Here is how I'm currently deleting the info from my db (TSUpdate):
Private Sub ClearMyData()
' Open Connection and Clear Data
OleDbConnection1.Open()
Dim MyCommand As New OleDbCommand("DELETE FROM TSUpdate",
OleDbConnection1)
MyCommand.ExecuteNonQuery()
OleDbConnection1.Close()
MyCommand.Dispose()
End Sub
Thanks in advance!
Bruce