I have a primary table that had an ID field that is auto numbering and indexed and I would like to force this field to renumber all the records so that they are sequential. Is this possible?
This is a new DB that all data has been imported from multiple Access DBs so the existing IDs are invalid anyway.
The tables currently do not have any relationships that will cause problems.
It is just that during the testing and conversion of the Access Applications to Access projects added test records mess up the sequential numbering and I would like to have the IDs sequential when it goes into production.
The other option I have thought about is using a GUID data type as the ID but don't have any experience using GUIDs as an ID field and think it would limit a query like..
Select * from Activity
Where (ID In (Select Max(ID) as MaxID from Activity))
I am just not sure if the 'Max' would work correctly using GUID ID fields or if there would be another way to accomplish the same thing.
A query very similar is used as the data source for a AddNewCase form to speed it up. Without the prefilter, the form it can take 20 to 30 seconds before the form is ready for data entry because the Activity table has more than 3 mil. records for this year alone.
Thanks
John Fuhrman
faq329-6766
thread329-1334328
thread329-1424438
This is a new DB that all data has been imported from multiple Access DBs so the existing IDs are invalid anyway.
The tables currently do not have any relationships that will cause problems.
It is just that during the testing and conversion of the Access Applications to Access projects added test records mess up the sequential numbering and I would like to have the IDs sequential when it goes into production.
The other option I have thought about is using a GUID data type as the ID but don't have any experience using GUIDs as an ID field and think it would limit a query like..
Select * from Activity
Where (ID In (Select Max(ID) as MaxID from Activity))
I am just not sure if the 'Max' would work correctly using GUID ID fields or if there would be another way to accomplish the same thing.
A query very similar is used as the data source for a AddNewCase form to speed it up. Without the prefilter, the form it can take 20 to 30 seconds before the form is ready for data entry because the Activity table has more than 3 mil. records for this year alone.
Thanks
John Fuhrman
faq329-6766
thread329-1334328
thread329-1424438