Thanks once again Keith, working now. Which API functions are you referring to? I'm aware of sqlite3_column_name and sqlite3_column_decltype api functions but I'm not aware of any that will return the DB / Tbl. EDIT: Sorry Keith. I just noticed the functions you mentioned are called through the api and they in turn call the columnName function.