|
Ask again, if defined in a private process
such as
Public Sub tab_save ()
Dim rs_save As New ADODB.Recordset
Dim db_save As New ADODB.Connection
Dim connectionstring As String
Dim sqlstring As String
connectionstring = "provider = Microsoft.Jet.oledb.4.0; data source ="&dbname
db_save.Open connectionstring '------------------------------- connect to adodb database
...
Set rs_save = Nothing
Set db_save = Nothing
End Sub
So is it right?
Set rs_save = Nothing
Set db_save = Nothing
Is it the same whether you write or not? |
|