I am converting a string to a date field in an SQL expression and get the error 'failed to retrieve data from database - not a valid date'. The date entered was 10/50/2011. How can I determine if a string date is valid before I execute the rest of the SQL expression?