I'm getting this error:
Microsoft VBScript runtime error '800a01c2'
Wrong number of arguments or invalid property assignment: 'validSQL'
But, I don't know why. This is the line in the SQL statement:
& "FROM ADS " _
& "WHERE AD_ID = " & validSQL(AD_ID)
What's wrong with that?