15+ year MS Access developer with multiple enterprise-level deployed applications.
- I have a stable Windows 10-Access 2016 database with front end-back end split.
- Working in development front end located on C: drive.
- Adding new sub to a new form. (Private Sub Form_Load, no code, just the framework)
- Debug > Compile.
- Sub disappears.
Tried:
- Compact on Close off.
- Perform name AutoCorrect off.
- In Module View.
- Imported all objects into a fresh database file.
- Saved form to a new name.
- Deleted form, created brand new form, typed sub in (did not copy).
- No "hidden" objects persisting from prior/deleted versions of the form.
- There is no violation of max file size (19 MB), object count, etc.
I've seen Access do some truly stupid sh*t (Query '' corrupt 3340 anyone?) but this has me completely stumped.