RE - Filter by field & Filter by selection

Get our Free Newletter

Don't you have the time to be online here at DUG every day? So how do you follow what is going on in the Dynamics industry and community?
If you subscribe to the DUG Newsletter then you can relax! We will make sure that you don't miss the big news!

Check out our
Newsletter Subscription Center
page a complete list of our different newsletters.

Not Answered This post has 0 verified solutions | 2 Replies | 2 Followers

Male
40 Posts
540 Points
Joined: 2012-5-15
Last Online:
2012-12-10 13:04
Location: Chennai
Madhan posted on 2012-10-16 12:48

Dear All,

For the display methods we cant apply "Filter by field or filter by selection" .

But in case if we want this functionality means what is the way to achieve this.

Help me regarding this.

 

Regards,

Madhan

All Replies

764 Posts
19,310 Points
Joined: 2010-3-2
Last Online:
2013-6-19 15:48
Location: Cheltenham, UK
Martin Dráb replied on 2012-10-16 14:08

The filter creates some condition to the WHERE close in the SQL statement sent to the database - but the display method is not defined in database, so the DBMS can't use it to filter data.

The simplest answer is:  You can't filter by display (and edit) methods. In some situations, you can actually filter by some other field used by the display method (e.g. you're displaying percents but the order by original numbers is the same). And you can always use a temporary table.

4 Posts
125 Points
Joined: 2012-11-2
Last Online:
2012-11-6 2:26
Location: Melbourne, Australia
Wei replied on 2012-11-2 5:23

Another way is to return the display method into another field, i.e., create a new field,, auto declare form control field, then set the new field value = the form control field value

Page 1 of 1 (3 items) | Get this RSS feed | Bookmark and Share