Hello, I'm trying to figure this out because it simply makes no sense to me. I have tables where I do SCUD operations on. If I insert a record after removing a few, it inserts just fine. The trouble happens when I do my selects. If I select in DESC order by date, all my records appear. However, if I query in ascending order by date, the records that have a non-sequential Record ID don't appear. I've seen this behavior with SQL Compact Edition and MS Access. Can someone, anyone, shed some light on why it would do this? This behavior to me is just not logical. 100 is the record that won't show in Ascending order. The database is a conversion from FoxPro 5 to MS Access. Here's some details:
DB Schema:
RecID, Integer, Identity (1,1), PK
PatientID, Character
Date, DateTime (for date field)
Times, DateTime (for time field)
Systolic, Integer
Diastolic, Integer
Notes, Character
Sample Records:
RecID | PatientID | Date | Times | Systolic
| Diastolic | Notes
--------------------------------------------------------------------------------------------------------
89 | 000-00-0000 | 07/30/2000 | 5:00:00 PM | 109 | 68 | None
90 | 000-00-0000 | 07/31/2000 | 5:00:00 PM | 100 | 72 | None
91 | 000-00-0000 | 08/01/2000 | 5:00:00 PM | 104 | 85 | None
100 | 000-00-0000 | 08/02/2000 | 5:00:00 PM | 120 | 80 |
None
Microsoft Certified Professional