The invalid argument error you are experiencing in MS Access could be related to the schema retaining an entity relationship that should have been removed after an entity was deleted from a Business Process Flow (BPF). This issue can occur when an entity is removed from a BPF stage and replaced with a different entity, followed by an update to the BPF while it's still activated.
To resolve this issue, you may want to ensure that any lingering relationships in the schema are addressed. Unfortunately, the provided context does not specify a direct fix for the invalid argument error specifically related to your transition to Windows 11. However, you might consider checking for updates or patches for MS Access that could address compatibility issues with Windows 11.
Additionally, if compacting the database did not resolve the issue, you may want to explore other troubleshooting steps such as:
- Checking for any updates to MS Access.
- Reviewing the queries for any incorrect arguments or data types.
- Ensuring that all relationships and dependencies in your database are correctly configured.
If the problem persists, it may be beneficial to consult the official Microsoft documentation or support for further assistance.