AnsweredAssumed Answered

ListTables does not work...

Question asked by TomGeo on Aug 20, 2013
Latest reply on Aug 20, 2013 by rzufelt
Hi,

I am working with ArcGIS 10.1 SP1 and I try to list tables from within a file geodatabase.
I set the workspace to the specific geodatabase and write:

lstTables = arcpy.ListTables() len(lstTables)


The result of this is an empty list. I can reproduce this using external scripts, and when using the Python window within ArcMap or ArcCatalog. I can see all the tables in ArcCatalog and I can have a preview of them... However, to list them is impossible.
it is also impossible to copy them into another FGDB. The attempt to copy the tables ends in crashing ArcMap or ArcCatalog.

When I try to list all the feature classes in the same FGDB then I have no problem and I get the correct result.

Any solution for this problem?

Bests Tom

Outcomes