The connection is set through bomCon and then related at the end of the bomCmd = statement. Is this not syntactically correct?

bomCon = Connection
bomConString = Connection String
bomCmd = Command