Reaper,

I've never used the DataGrid, so I'm probably not the guy to answer that one.

I don't often use DSN's, but I copied the code and I'll take a look.