Thank you, Peter, the code now works! It would be most helpful to be able to read documentation specific to mapinfo modules and functions written in python. Are those types of docs available (my searches indicate no). I do have Python Quick Start loaded in mapinfo which helps a little. It is inefficient ...