Link to home
Start Free TrialLog in
Avatar of rogerdjr
rogerdjrFlag for United States of America

asked on

Providing access to a onenote page in access 2016

I am using microsoft 365 Enterprise E3 and i have an existing database that I would like to add the ability to link records to one note pages

I tried creating a hyperlink field in a table and added it to an existing form.

Then I opened one note and selected the page I want to link.

Then I right clicked the page and selected "Copy Link to Page"

Then I pasted the link into the field on the form, but when I click on the hyperlink I get an error message "Unable to open form" (see attached file)

Searched the web for solutions with no luck
User generated image
Avatar of PatHartman
PatHartman
Flag of United States of America image

If you paste the link into Word does it work?

I don't ever use the Hyperlink data type since it isn't supported in SQL Server or other RDBMS'.  I use a regular text field.  I set the form propery to DisplayAsHyperlink - Always so the link looks like a hyperlink.  Then in either the click event (if you can't update the field on this form) or in the double-click event (if you can), I use the Application.FollowYperlink method to open the link.  As long as the target is correctly registered with windows, the hyperlink works.    If the app isn't registered, you need to use some other method that specificly opens the app and passes in the link to follow.

I also don't use OneNote (even though I have it) so I can't test this for you.
Avatar of rogerdjr

ASKER

ASKER CERTIFIED SOLUTION
Avatar of rogerdjr
rogerdjr
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Found answer with online search
Thanks for sharing the answer.