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:
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:
Code:
[FONT=Arial][SIZE=2][COLOR=#000000]intID[/COLOR][/SIZE][/FONT] [FONT=Arial][SIZE=2][COLOR=#000000]dteDate[/COLOR][/SIZE][/FONT] [FONT=Arial][SIZE=2][COLOR=#000000] dteStart[/COLOR][/SIZE][/FONT]
[FONT=Arial][SIZE=2][COLOR=#000000]1040[/COLOR][/SIZE][/FONT] [FONT=Arial][SIZE=2][COLOR=#000000]5/27/2010[/COLOR][/SIZE][/FONT] [FONT=Arial][SIZE=2][COLOR=#000000]7:39:00 PM[/COLOR][/SIZE][/FONT][FONT=Arial][SIZE=2][COLOR=#000000]
1041[/COLOR][/SIZE][/FONT] [FONT=Arial][SIZE=2][COLOR=#000000]5/28/2010[/COLOR][/SIZE][/FONT] [FONT=Arial][SIZE=2][COLOR=#000000]7:50:00 PM[/COLOR][/SIZE][/FONT] [FONT=Arial][SIZE=2][COLOR=#000000]
1042[/COLOR][/SIZE][/FONT] [FONT=Arial][SIZE=2][COLOR=#000000]5/28/2010[/COLOR][/SIZE][/FONT] [FONT=Arial][SIZE=2][COLOR=#000000]8:56:00 PM[/COLOR][/SIZE][/FONT] [FONT=Arial][SIZE=2][COLOR=#000000]
1043[/COLOR][/SIZE][/FONT] [FONT=Arial][SIZE=2][COLOR=#000000]10/14/2009[/COLOR][/SIZE][/FONT] [FONT=Arial][SIZE=2][COLOR=#000000]2:21:00 PM[/COLOR][/SIZE][/FONT] [FONT=Arial][SIZE=2][COLOR=#000000]
1044[/COLOR][/SIZE][/FONT] [FONT=Arial][SIZE=2][COLOR=#000000]10/18/2009[/COLOR][/SIZE][/FONT] [FONT=Arial][SIZE=2][COLOR=#000000]1:12:00 PM[/COLOR][/SIZE][/FONT] [FONT=Arial][SIZE=2][COLOR=#000000]
1045[/COLOR][/SIZE][/FONT] [FONT=Arial][SIZE=2][COLOR=#000000]10/18/2009[/COLOR][/SIZE][/FONT] [FONT=Arial][SIZE=2][COLOR=#000000]6:09:00 PM[/COLOR][/SIZE][/FONT] [FONT=Arial][SIZE=2][COLOR=#000000]
1046[/COLOR][/SIZE][/FONT] [FONT=Arial][SIZE=2][COLOR=#000000]10/18/2009[/COLOR][/SIZE][/FONT] [FONT=Arial][SIZE=2][COLOR=#000000]7:53:00 PM[/COLOR][/SIZE][/FONT]
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?