Created
April 19, 2012 18:56
-
-
Save stimms/2423052 to your computer and use it in GitHub Desktop.
Function for commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Public Function RunCommandAgainstSQLServer(cmd as Command) | |
command.ActiveDatabaseConnection = GetConnectionString 'also opens the connection | |
command.Execute | |
command.ActiveDatabaseConnection.Close | |
End Function |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment