Hi,
I use a DAO recordset to change some values in an excel worksheet. The problem is every time the update method from the recordset is fired the memory usage increases and stays allocated. Is this a known issue? Here is some pseudo-code to show you where the problem is:
<code>
Dim db as DAO.Database
Dim rs as DAO.Recordset
...
Set db = ...
Set rs = db.OpenRecordset("Sheet1$", dbOpenDynaset)
...
While ...
rs.FindFirst "searchstring"
If Not rs.NoMatch Then
rs.Edit
rs!Field = "Data"
rs.Update 'Memory usage increases here!
End If
Wend
...
rs.Close
...
</code>
I hope someone can help me out here,
Thx in advance,
RaKKeR
I use a DAO recordset to change some values in an excel worksheet. The problem is every time the update method from the recordset is fired the memory usage increases and stays allocated. Is this a known issue? Here is some pseudo-code to show you where the problem is:
<code>
Dim db as DAO.Database
Dim rs as DAO.Recordset
...
Set db = ...
Set rs = db.OpenRecordset("Sheet1$", dbOpenDynaset)
...
While ...
rs.FindFirst "searchstring"
If Not rs.NoMatch Then
rs.Edit
rs!Field = "Data"
rs.Update 'Memory usage increases here!
End If
Wend
...
rs.Close
...
</code>
I hope someone can help me out here,
Thx in advance,
RaKKeR