I have a Access Table where I delete records depending upon the length of a field content.
Code:
If Len(t1![Security_Code]) > 3 Then t1.Delete
The code runs but Does NOT delete records with the character length exceeding 3.
It runs just fine in Access 2007 not though in 2013 Trial version in Windows8.
However after opening the Connected Form without any Filters it displays all records as it should, namely only records with a length of <= 3 in that Field. The underlying table though still contains the "deleted" records.
In other words the Form shows for example 1200 records while the underlying table has still 1300 records in it, 100 which are supposed to be deleted.
Problems:
- Simple Code(above) running in Access 2007/Vista but not in Windows8/2013
- Discrepancies between actual records in Table and Records Displayed
Kind Regards
Erwin