Notifications
Announcements
No record found.
I am using display method field in form which I want to filter by pressing CTRL+G or some other approach.
Thanks,
Raziq
*This post is locked for comments
Hi Raziq, it is not possible to filter or sort with display methods.
As Anton said it's not possible, but if the method is not too complex, you can maybe add the required tables as datasource. Otherwise you have to create a view and make your display method a computed column. You then can add the view as datasource and drag the computed column into the form. Then you will be able to filter it.
Hi Jens,
You said that "you have to create a view and make your display method a computed column " but problem is that computed column must be static and server method ,and display can not static ,then what we do??.
if you have any example then please provide .
Check this post
Hi Faqru Shaik ,
Thanks for your response ,its working .
But i want to try that approach.
Please help .
Hi,
Have a look this example
Yes,
In this example the method must be statics for computed column . but i m using display method .as per my knowledge display methods can't be static . so how to apply on this approach. if it is possible then provide me solution .
Regarding "method must be statics for computed column" and "as per my knowledge display methods can't be static":
That's both correct and it's no contradiction at all.
You have either a computed column (a static method generating a piece of SQL code inserted into a view) or you have a display method. These are two completely separate things; if you want to use a computed column, what is syntax for some unrelated thing (such as a display method) is irrelevant.
Either you use a display method and you follow rules for display methods. Or you're making a computed column and you follow rules for computed columns. Don't try to mix them; it doesn't make sense.
Collect all data to a view and change the data source of form to this view. You can filter like Ctr+G
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 4 Most Valuable Professional
Priya_K 4
MyDynamicsNAV 2