locked
Variable Filter? RRS feed

  • Question

  • We have a situation that lists within a web part page are filtered differently depending on the day of the week you look at it. On monday the date on the list must be filtered by DATE >= [Today]-3, and every other day [Today]-1. 

    I want to know if and how, as I'm no good with ASP (I'm a php guy), I could echo a custom offset in the source of the web part page. 

    I found the line the query lives, on and I nailed down the spot I'd need asp to echo the offset at (Today OffsetDays="-3"), but I'm not sure the proper place to add the simple if statement nore the proper means to call that value. 

    Any direction or advice would be greatly appreciated.

    -Tim

    Friday, July 13, 2012 4:31 PM