Filtering on Custom Columns

Is it now possible to filter based on the content of a custom column with the new filtering system?

I did find a previous question that asked the same thing about the "old" filter system ( Get custom field to show in Filter 'Field:', V2.41b), to which the answer was "no", but I wondered if its possible with the new filtering methods.

Thanks,

gvm

Yes, check out the help file or press F1 when your cursor is in the filter edit field.

Hi Dano,

I looked there before posting (and after your post), but I can't find any mention of custom columns (I don't mean custom fields). Could you be more specific?

What I'm trying to achieve is that I have a custom column that shows whether the Title field is a substring of the file name (this is for use in cleaning up after the cut-sort-undo writing to the wrong file problem). The column is called "TitleMatch", and has a value of:

$if($eql($lower(%_filename%),$replace($lower(%_filename%),$lower(%title%),)),UNMATCHED,MATCHED)
Obviously, this is not the sort of data that I'd like to be permanently stored as a tag, but just want it to be displayed and updated in real-time, as a custom column. This is working fine.

What I'd like to do is to then filter on this value, but the filter expression:

"%TitleMatch%" IS UNMATCHED
doesn't work.

I can see reasons why custom columns need to be handled differently in "normal" expressions (circular references, etc) but these wouldn't apply to using them in filter expressions.

Thanks,

gvm

The content of a custom column cannot be referenced. But you can repeat your column in the filter:

"$if($eql($lower(%_filename%),$replace($lower(%_filename%),$lower(%title%),)),UNMATCHED,MATCHED)" IS UNMATCHED

Yes, I'd already done that, but it's a little cumbersome. I was hoping there was some syntax for using the custom column name.

Thanks anyway.

gvm

[I just realised I'd misread the link that I referenced in my original posting above - It was referring to custom fields not columns. That might have caused some confusion - sorry about that.]