Hi @Dall'Asta, Massimo
understand your concern. below list the root cause and solution. please try and give your feedback.
Database corruption is a frequent cause of intermittent errors.
- Open Access.
- Select File → Info.
- Click Compact & Repair Database.
If the error occurs when opening a report:
- Open the report in Design View.
- Check the report's Record Source query.
- Verify that all referenced tables, fields, and queries still exist.
If the report uses VBA:
- Press Alt + F11 to open the VBA Editor.
- Select Debug → Compile VBA Project.
- Fix any compilation errors found.
Missing references can cause random errors.
In the VBA Editor:
Tools → References
Look for any item marked:
MISSING:
If found, clear the missing reference or replace it with the correct library.
Create a blank Access database and import the affected report:
External Data → New Data Source → From Database → Access
Import only the problematic object and test again.
Thanks.