0

When I do:

IStandaloneTableCollection collection = (IStandaloneTableCollection)MxDoc.FocusMap

Then collection.StandaloneTableCount returns 0.

I have created the new table via ArcCatalog and registered it as versioned. What am I missing?

Arulkumar
  • 12,966
  • 14
  • 47
  • 68
Jacques Bosch
  • 2,165
  • 3
  • 25
  • 36

1 Answers1

0

OK, what I was missing was that the newly created table also needs to be added into the workspace for it to be available on the FocusMap. So easy, yet no search yielded any help. So I hope this helps some other ArcObjects newbies out into the future. :)

Jacques Bosch
  • 2,165
  • 3
  • 25
  • 36