Is that going to take a separate form then? or at least a command button for each query that I have to write? Thinking this through... that would mean the form as it is now, but with three more input boxes, one for R, M, and L and two more buttons to run two more queries, one for < and one for...