B
Bill Linares
I have had great difficulty updating a table because of a weird behavior
with the recordset.MoveLast Method:
It does not return the last record! It gets stuck in the middle of the
table.
For instance, I declare a recordset
Set CDsRS = db.OpenRecordset("TableNames") 'db is the actual database
Now if I take a look at the RecordCount property, it has the correct value
of entries. If I then try to go to the last record by
CDsRS.MoveLast
I end up somewhere in the middle. However, the AddNew method works; it does
not overwrite the entry returned by MoveLast
???
with the recordset.MoveLast Method:
It does not return the last record! It gets stuck in the middle of the
table.
For instance, I declare a recordset
Set CDsRS = db.OpenRecordset("TableNames") 'db is the actual database
Now if I take a look at the RecordCount property, it has the correct value
of entries. If I then try to go to the last record by
CDsRS.MoveLast
I end up somewhere in the middle. However, the AddNew method works; it does
not overwrite the entry returned by MoveLast
???