N
Niklas Östergren
Hi!
How do I do to delete all records in a local table using DAO?
Her´s the code I use now but it only delets the first record. I still have
records left:
=============================================
Dim db As Database
Dim rst As Recordset
Set db = Currentdb
Set rst = db.OpenRecordset(strTableName)
rst.Delete
rst.Close
=============================================
TIA
// Niklas
How do I do to delete all records in a local table using DAO?
Her´s the code I use now but it only delets the first record. I still have
records left:
=============================================
Dim db As Database
Dim rst As Recordset
Set db = Currentdb
Set rst = db.OpenRecordset(strTableName)
rst.Delete
rst.Close
=============================================
TIA
// Niklas