name: r[i][0].strVal,
exportable: r.data(1, i).boolVal,
filename: r[i][2].strVal
RunYou do access r[i][0] and similar elements without any checks if that elements exists. Generally debugging starts there is case of errors, and if I remember correctly the error message was matching to such an invalid acess. I can not test myself, I think I have not installed odbc and I have no experience with database access.
