I currently have a TQuery in which I would like to filter for min/max restrictions on a calculated field at runtime. I was hoping to use the OnFilterRecord event to do the comparison, but I forgot that calculated values are only calculated when necessary and not for an entire dataset at retrieval time (thus my FilterRecord procedure isn't accepting and rejecting records correctly). Is there a way to force the calculation before filtering, or is there another way around this?