Update page from pagepart ???

mfrabotta
Member Posts: 12
I need changes on a Pagepart (subform) to notify the Page (form) so the main page can update values needed.
So, I have searched this to death.
I have found someone else who asked the same question, but I have yet to find an answer or a confirmation that this can not be accomplished.
This post http://www.mibuso.com/forum/viewtopic.php?f=23&t=22564 is exactly how we accomplish this in the classic client. As you can see in this post croesel asked on Jan 14 2011 if this was possible in RTC. I haven't found any other similar questions.
To all of the "don't do this" responses:
I understand the responses to not do this.
The fact is, the functionality is 100% more useful if it does.
Thank you in advance with any ideas, suggestions or points in the right direction, I really appreciate them.
So, I have searched this to death.
I have found someone else who asked the same question, but I have yet to find an answer or a confirmation that this can not be accomplished.
This post http://www.mibuso.com/forum/viewtopic.php?f=23&t=22564 is exactly how we accomplish this in the classic client. As you can see in this post croesel asked on Jan 14 2011 if this was possible in RTC. I haven't found any other similar questions.
To all of the "don't do this" responses:
I understand the responses to not do this.
The fact is, the functionality is 100% more useful if it does.
Thank you in advance with any ideas, suggestions or points in the right direction, I really appreciate them.
0
Comments
-
Have you really searched to death?
Then I should work on making my blog easier to find.
http://dynamicsuser.net/blogs/mark_brum ... -page.aspx0 -
Mark,
No need to make it easier to find, I had read your article last night when I was searching.
Your article appears to be extremely useful for things such as updating a flow field, or calling a function that is available through an action.
I need to notify the Page to run functions that are not available to the user.
These functions read the current record of the subform and perform the needed tasks.
Any suggestions on this using send keys? Can I call an action through sendkeys that isn't visible?
Any suggestions other than using send keys?
I guess the real thing is I really like the XML mechanism. It works really well. And we have a few forms that use this.
As I move this funtionality to RTC I am looking for another good way to accomplish this.
Maybe send keys is it ...
Thank you again for your reply ... and great site (Your blog). It has good information and tips!0 -
You can put the functions you want to execute in an Action and run that with sendkeys.
Yes, it means that the function is avaliable to an enduser, but does that really matter?0 -
Mark,
I have tested the sendkeys on an action that has 'Visible' = False.
It works!
Good enough for me. I doubt a user happens to stumble upon my complicated key request.
I will just have to take that chance.
Again, I did find your article to begin with, but I dismissed the idea.
Thank you for making me look at your solution in a different light.
Have a great day!
Michael0 -
Sorry to bump this up again, but my issue relates back directly to this post.
It has been seen in 64 bit clients that "SendKeys" isn't working correctly.
Has anyone else dealt with this?
Has anyone else worked out a better way of updating the main form from a subform?
Thanks again.0 -
My question is, why would you need to run the function on the main page ?
When you are working in the subform the record in the main page has already been updated. Why don't you just call a function in a codeunit and the use sendkeys with F5 to reload the changed data to the main page ?________________________________
Gunnar Gestsson
Microsoft Certified IT Professional
Dynamics NAV MVP
http://www.dynamics.is
http://Objects4NAV.com0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions