Turns a variable list in a StringCollection into an SQL statement
[Visual Basic] Public Shared Function VariableStringCollectionToSQL( _ ByVal allvariables As StringCollection, _ ByVal selectedvariables As StringCollection, _ ByVal sql As String _ ) As String