G
Gijs Beukenoot
Hi,
I'm a bit confused finding the source of the ODBC error 3156 (Delete on
linked table <name> failed).
I'm having a form showing me the contents of a table. On top, I have a
combobox showing me the names so I can easily jump to the correct
record. The combo is filled using a query on the same table. This all
works fine.
However, when I try to delete a record, I get the above error. I would
expect it to raise error 3146 when I have related records (in fact it
does (immediately) when that is the case) but this one takes a while
(odbc time-out).
Even when I open the table and try to delete the record directly, it
gives me the error.
On the other hand, closing the database, opening it again, opening the
table and then trying to delete the record, it works fine.
I've searched my form and other code to see if I open the table
somewhere and forget to close it but that doesn't seem the case.
Does anybody has any additional info on the error?
Thanks
GB
I'm a bit confused finding the source of the ODBC error 3156 (Delete on
linked table <name> failed).
I'm having a form showing me the contents of a table. On top, I have a
combobox showing me the names so I can easily jump to the correct
record. The combo is filled using a query on the same table. This all
works fine.
However, when I try to delete a record, I get the above error. I would
expect it to raise error 3146 when I have related records (in fact it
does (immediately) when that is the case) but this one takes a while
(odbc time-out).
Even when I open the table and try to delete the record directly, it
gives me the error.
On the other hand, closing the database, opening it again, opening the
table and then trying to delete the record, it works fine.
I've searched my form and other code to see if I open the table
somewhere and forget to close it but that doesn't seem the case.
Does anybody has any additional info on the error?
Thanks
GB