You can get DBC name using code from
Re: Is a table part of a dbc? How to?? Message #
581845. That'll allow you to check if DBC exists and take appropriate actions.
>Hello,
>
>
>As we know when trying to use a table that misses it's parent database we get a error. I need to open the table and automatically delete the link if the database is missing but only if it's missing.
>Any tips?
>
>Thanks,
>Ionut
--sb--