Thanks for your reply!
I tried your script, and got this error message: “Connection failed: could not find driver”
It looks like my issue might be related to this one, and/or that one … Maybe I have missing indices?? But I’m still quite confused as to what next steps I should try to figure things out