Skip to Content

Solved: How do I display NavPane when running accde on server with Access 2016 Runtime installed?

Question/Problem Description

We have been compiling an application to .accde format since 2007. The application doesn’t expose the Navigation Pane (NavPane) window, but I have included keyboard shortcuts and password to open the window and it’s always worked well from the ACCDE. This allows me to check data in tables and queries, relink tables if necessary and I can even modify queries.

We just recently started using Access Runtime and found out that we don’t have this option. We do already have a custom ribbon and have found that there is also no right-click functionality in Runtime.

Using MS Access accde file. I have the following line of code:

DoCmd.LockNavigationPane False

I then follow this with

Docmd.SelectObject acTable, , True

This will display the NavPane window where I have access to the tables and queries in the compiled version.

This works great EXCEPT when running the accde on a server with Access 2016 Runtime installed. In that instance the command

DoCmd.LockNavigationPane False

Brings up the Error 3709: The search key was not found in any record. The detailed error message is as below:

Error # 3709
The search key was not found in any record.
Error # 3709. The search key was not found in any record.

Run-time error ‘3709’:
The search key was not found in any record.
Run-time error '3709': The search key was not found in any record.

Run-time error ‘3709’:
The search key was not found in any record.
Run-time error '3709': The search key was not found in any record.

Is there any method to display the Navpane window when running an accde file under Access 2016 runtime?

Solution

NavPane is for editing the Access database but Runtime is only to “run” the Access databases where no extra functionality is included. There is no way to do it. You’d have to create your own and display it as a form to show the tables and queries.

When running accde and runtime, be sure to have an accdb for development, including exposure to the navigation pane. Do your development in .accdb. Runtime does not allow ANY design or development capabilities. You can’t even put a form or report in design view using code in runtime.

You are also going to need to supply your own ribbon functionality. Reference: Understand and download the Access Runtime

You use the runtime version when you have an Access app fully developed and ready to go. It’s not meant to be used for development or troubleshooting. You might wan to check out Dale’s tool which he developed exactly because of this: Access Shortcut (right-click) Tool

Tags

Tags

    Ads Blocker Image Powered by Code Help Pro

    Ads Blocker Detected!!!

    This site depends on revenue from ad impressions to survive. If you find this site valuable, please consider disabling your ad blocker.