Reputation: 529
I have a form that has a menu item which takes us to another form and per base AX filters on the selected record.
I want to create a separate menu item that takes me to the same form, but instead removes the filter on the record.
Any ideas?
Upvotes: 0
Views: 2584
Reputation: 796
Are you talking about Dynalinks, Opening a second form from the first, and only seeing the records in the second that relate to the currently selected record in the first.
If so Either remove the Datasource property from your new menu item on the first form, or programmaticly clear the dynalink in the second forms datasource's Init() method
Here is a simple example (from AX2009) http://ckmun.wordpress.com/2009/07/08/cleardynalinks-method/
Upvotes: 1