G
Guest
Hi,
I have an .mdb file in which I have two linked tables. When I insert records
in the "slave" table and then query for those records, they appear NOT
ordered by their primary key (indexed autonumber) - even though the field is
INDEXED. This causes major problems in our application. Sometimes if I insert
40 new records, the record with the bigest index appears first, then the rest
of the records. Sometimes, the last 5-6 records appear first, then the rest.
Now, after I compact the database, the problem is fixed. However, if I
insert another set of records, the problem re-appears with the lastly
inserted records.
This seems to happen with the Access 97 format, I have not reproduced it
with 2003 format.
Has anyone seen anything like this? I can provide the .mdb file on demand.
It is really interesting.
Ivan
I have an .mdb file in which I have two linked tables. When I insert records
in the "slave" table and then query for those records, they appear NOT
ordered by their primary key (indexed autonumber) - even though the field is
INDEXED. This causes major problems in our application. Sometimes if I insert
40 new records, the record with the bigest index appears first, then the rest
of the records. Sometimes, the last 5-6 records appear first, then the rest.
Now, after I compact the database, the problem is fixed. However, if I
insert another set of records, the problem re-appears with the lastly
inserted records.
This seems to happen with the Access 97 format, I have not reproduced it
with 2003 format.
Has anyone seen anything like this? I can provide the .mdb file on demand.
It is really interesting.
Ivan