Hi to every one,
I wrote the following code
On erro goto err_Handler
Dim Db as dao.database
....
db.execute "Delete from Tblxxx where aaa=123"
err_Handler:
select case err.number
case 3200
msgbox err.description
case else
msgbox "...."
end select
if the record is referenced in others table the description "The record
cannot be deleted or changed because table
<tblDestination> includes related records"
Can I obtain only the table name without all the message?
Because i have to give this message to italian users, so they usually not
understand very well englisch and it's too easy for them to find
the record if they konw the table name.
Best regars.
Massimo
PS: Excuse me for my not good english
--
web: www.piubelli.net
Vuoi il mio indirizzo? Togli _cut_ per rispondermi