in reply to Re^2: Problem passing date to SQLin thread Problem passing date to SQL
You're only posting part of your code to keep this simple, but it's getting in the way of us helping. See http://sscce.org.