Splinters
06-10-2010, 08:36 PM
I need some help with a strange problem in a table of date & time stamps.
The table has the following fields (others left out for brevity):
Name Format
-----------------
intID Autonumber index
dteDate Date/Time
dteStart Date/Time
I needed to insert some records that were out of order, so I deleted the intID column, added them on the end of the table, ran an assending sort of the dteDate column, and everything was in the proper order.
I then recreated the intID index Autonumber field.
When I checked the table, the new records were at the bottom of the table again!
Here is where the old records meet the new records:
intID dteDate dteStart
1040 5/27/2010 7:39:00 PM
1041 5/28/2010 7:50:00 PM
1042 5/28/2010 8:56:00 PM
1043 10/14/2009 2:21:00 PM
1044 10/18/2009 1:12:00 PM
1045 10/18/2009 6:09:00 PM
1046 10/18/2009 7:53:00 PM
As you can see, the 10/14/2009 record follows the 5/28/2010 record - which it shouldn't be doing...
I even tried making a copy table, copied the dte fields (without the index) into it, ran the sort and then created the index...same thing happened.
What am I missing here?
The table has the following fields (others left out for brevity):
Name Format
-----------------
intID Autonumber index
dteDate Date/Time
dteStart Date/Time
I needed to insert some records that were out of order, so I deleted the intID column, added them on the end of the table, ran an assending sort of the dteDate column, and everything was in the proper order.
I then recreated the intID index Autonumber field.
When I checked the table, the new records were at the bottom of the table again!
Here is where the old records meet the new records:
intID dteDate dteStart
1040 5/27/2010 7:39:00 PM
1041 5/28/2010 7:50:00 PM
1042 5/28/2010 8:56:00 PM
1043 10/14/2009 2:21:00 PM
1044 10/18/2009 1:12:00 PM
1045 10/18/2009 6:09:00 PM
1046 10/18/2009 7:53:00 PM
As you can see, the 10/14/2009 record follows the 5/28/2010 record - which it shouldn't be doing...
I even tried making a copy table, copied the dte fields (without the index) into it, ran the sort and then created the index...same thing happened.
What am I missing here?