I want certain code to execute whenever I use an ADODBcommand. To expedite this, I created a function to handle these commands. It has this signature:
Public Function useADODBcommand(myCommand As ADODB.Command)
When I test this function, I get the error "type mismatch". But I am 100 percent certain that I am passing it an ADODBcommand. What is the problem? This would be easy to do in java.
Public Function useADODBcommand(myCommand As ADODB.Command)
When I test this function, I get the error "type mismatch". But I am 100 percent certain that I am passing it an ADODBcommand. What is the problem? This would be easy to do in java.