Hi all!
I have to create a button in a Form, that does the same, as the paperclip in the toolbar: Open the Links form.
I see two possibities:
a) Implement the same as the paperclip does -> question: how can I find out, what it does?
b) Using SendKey needing the WShell Object (not very good)
Questions:
1. How would you resolve that?
2. Which form is being opened, when clicking the paperclip?
Thx for any hint!
Gerald
0
Answers
Why not use the link as is - two clicks?
how will you know which link file to use?
If you need it down to one click then find the link and use the HYPERLINK command
Dynamics Nav Add-ons
http://www.simplydynamics.ie/Addons.html
Regards
I decided to send 'Ctrl+L':
viewtopic.php?p=136083#p136083
Creating a new form does not work, as you'd have to filter on the field 'Record ID' in table 'Record Link' - this is not possible.
Thanks for your help
Gerald
RecLink.SETFILTER("Record ID",FORMAT(RecRef.RECORDID));
Please remove this post!!!
Hi!
My code: The message shows 0, although there IS a link attached to the current contact.
If I deactivate the third line (SETFILTER), the message shows the number of all records in the table 'Record Link'.
What's wrong?
That's it!
Gerald
Me too. :-)
WSHShell.SendKeys('^'+'l'); did the trick.
Tino Ruijs
Microsoft Dynamics NAV specialist