Toni22 de Marzo del 2004
PreguntaTengo esta función:
Function comando(x As String) As Command
Dim ComandLoad As New Command
With ComandLoad
.CommandType = adCmdText
.CommandText = x
.ActiveConnection = Conexion()
End With
End Function
Quiero que devuelva el objeto ComandLoad. ¿Alguien sabe como hacerlo?
Function comando(x As String) As Command
Dim ComandLoad As New Command
With ComandLoad
.CommandType = adCmdText
.CommandText = x
.ActiveConnection = Conexion()
End With
End Function
Quiero que devuelva el objeto ComandLoad. ¿Alguien sabe como hacerlo?
