Will the custom query in QF allow me to do a case statement within my select? we are using version 8.0.1. I am looking for a way to determine the day of the week from a date read into the template. I also need to pull other information back from the database and populate the template but, it seems to ignore my case statement and returns all the other data.