The only thing I can think of at the moment is that you have a quoting problem that is exposing two "dim $objConn" definition to the same scope. If you have a missing or extra quote then one of the funcion keyboard may be imncluded in the string which makes KiX parser think you "Dim'ed" the variable twice.
_________________________
Home page: http://www.kixhelp.com/hb/