@stof Yeah this is far from perfect. I have copied and modified this from my SQL Anywhere driver implementation which I coded long time ago and my knowlegde of reflection was not as good back then ;)