Made several modification. Still being tested, but it works with ArcDb
Merge branch 'master' of github.com:h3imdallr/ArcTbl