Getting the GRID WHERE CLAUSE

Hello Group,
I need to find a way to get a grids where clause after all search and refined filters have been applied.
I need to do some batch updating of these records.

{sc_where_orig} will show me the original where clause but not any of the searches/refined filter selections.
I was hoping that “{sc_where_filter}” would give me the information I needed but it always returns empty string “”.

Any direction would be much appreciated.
Bill

Never mind. I found it. Should of just dug a little more.
‘sc_where_current’ is what I was looking for.