Hello!
Is there any way I can reference one particular instance of a form from another?
In my case, I have a subform which is used by one parent. The parent calls a subform's method which returns a variable. That variable is used as the source of a Textbox. When events occur in the parent, the subform's method is called and the parent's textbox value is updated. No problem if events originate just in the parent, but I've been asked to originate one from the subform, which should be able to update the parent's checkbox in response...
Even refreshing the parent form could be enough...
Thank you very much in advance!
PS: I had an architecture ready for what I had been asked, a new requirement emerged, that forces me to implement the behaviour I'm asking about. Changing too much could not be feasible...
0
Comments
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
using MSXMLDom...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
I am guessing to make this work on nav 2009 because onaftervalidate trigger is no longer part of Page, you could use onvalidate.instead.
You have to instantiate the msxmldom on the client.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Rather, a solution that Garak didn't like, was using single instance codeunits: is the instance single on a client or on the server? Were it on the client, I could use that approach...
Thanks again!
I am not sure, but I think that XMLDOM 4.0 is installed as part of NAV client installation...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.