G
Guest
Using Access2000 for development (end users using Access2003)
I have a table of clients, T_CLIENTS and companies, T_COMPANIES. There's a
1:M relationship between the two (1 client, many companies for that client).
There's an autonumber on the T_CLIENTS table.
I have two forms, one for the client entry, FRM_CLIENT, and one for the
company entry, FRM_COMPANY. User can enter a new client in FRM_CLIENT, and
from there, add companies under that client.
Both forms are bound to the respective tables.
Hopefully, that's enough to determine what could be going wrong. What is
happening is that sometimes, the T_COMPANIES table has a corrupt record. The
only way to fix it is to compact the db and remove the record (which, at this
point, has garbage data in the fields, including the key fields). I can't
delete without compacting first; if I try, it says "search key not found".
This error doesn't happen all the time, but it's happening more frequent than
before (once a day now, opposed to like once every couple weeks).
Any ideas what could be going on? I'm wondering if I didn't design the forms
correctly.
Thanks!
-Mark
I have a table of clients, T_CLIENTS and companies, T_COMPANIES. There's a
1:M relationship between the two (1 client, many companies for that client).
There's an autonumber on the T_CLIENTS table.
I have two forms, one for the client entry, FRM_CLIENT, and one for the
company entry, FRM_COMPANY. User can enter a new client in FRM_CLIENT, and
from there, add companies under that client.
Both forms are bound to the respective tables.
Hopefully, that's enough to determine what could be going wrong. What is
happening is that sometimes, the T_COMPANIES table has a corrupt record. The
only way to fix it is to compact the db and remove the record (which, at this
point, has garbage data in the fields, including the key fields). I can't
delete without compacting first; if I try, it says "search key not found".
This error doesn't happen all the time, but it's happening more frequent than
before (once a day now, opposed to like once every couple weeks).
Any ideas what could be going on? I'm wondering if I didn't design the forms
correctly.
Thanks!
-Mark