I was using this code successfully to move to the last recordset in an Access table
Set rsStudents = dbSJS1.OpenRecordset("Students", dbOpenTable)
rsStudents.MoveLast
txtIDNumber = rsStudents("ID Number"
+ 1
(to display what the current record will be numbered, once Updated), when out of the blue it won't move past record 77, even though I now have 85 records. Now it tells me each new record will be numbered 78, even though AutoNumber is still adding new records with no problem.
Does anyone know why this is?
Thanks,
Gav.
Set rsStudents = dbSJS1.OpenRecordset("Students", dbOpenTable)
rsStudents.MoveLast
txtIDNumber = rsStudents("ID Number"
(to display what the current record will be numbered, once Updated), when out of the blue it won't move past record 77, even though I now have 85 records. Now it tells me each new record will be numbered 78, even though AutoNumber is still adding new records with no problem.
Does anyone know why this is?
Thanks,
Gav.