rb7smutje

How to delete orphaned Standalone Table in Table of Contents? (VBA)

Discussion created by rb7smutje on Apr 8, 2010
Hello,

I'm trying to delete programmaticly (VBA) the orphaned tables with a red exclamation mark "!" in the Table of Content (Source List).
Looping trough the layers elements in the list doesn't bring orphaned Standalone Tables. (for example: in_memory Tables from a previous session)
But running a geoprocessing tool will find this Tables by Name.

Anyone with a idea how to delete this tables?

Sincerely,
S.A.

Outcomes