First, does anyone know where I can get the “Insert Hyperlink” button picture?
Second, I have a continuous subform, multiple records associated with a main record, to enter hyperlinks to associated Word documents.
Rather than have the data entry person click on the “Insert Hyperlink” button in the toolbar I want to use a button on my form that will run the code “DoCmd.RunCommand acCmdInsertHyperlink” to run the “Edit Hyperlink” utility.
The problem is that when you click on the button the focus leaves the record and the function errors. Any ideas on capturing the record number or something like that and then setting the focus back to that specific record before the function runs?
Other strategies also welcome.
Second, I have a continuous subform, multiple records associated with a main record, to enter hyperlinks to associated Word documents.
Rather than have the data entry person click on the “Insert Hyperlink” button in the toolbar I want to use a button on my form that will run the code “DoCmd.RunCommand acCmdInsertHyperlink” to run the “Edit Hyperlink” utility.
The problem is that when you click on the button the focus leaves the record and the function errors. Any ideas on capturing the record number or something like that and then setting the focus back to that specific record before the function runs?
Other strategies also welcome.