Home > Software design >  Is there a way to open an Access form with parameters by link?
Is there a way to open an Access form with parameters by link?

Time:12-23

I have an access form and I'd like to give a hyperlink to it with an ID parameter, is that possible? I need the access equivilent of something like https://www.example.com/something?parameter=value, but instead have it like file://something/something/myform.accdb?parameter=value

this has to be by link.

CodePudding user response:

No. You can't execute a file (calling msaccess.exe to open the database) this way.

Your link will ask the browser to download the file as an accdb file is of a format that cannot be displayed in the browser.

However, you can create a shortcut to the form:

  • Open Access
  • Go to the navigation pane
  • Drag and drop the form to open to the Desktop
  • Close Access

Now, double-click the shortcut, and it will open Access and, right away, then the form.

  • Related