I tried to open your attachment, but couldn't. I get a message that it's a php file.
It's not clear to me that you mean by "comparison operator."
Forms can be filtered by modifying the reocrd source or by setting the form FilterProperty and the For FilterOn property.
Either method, you build SQL string. Your "conparison operator" is a component of that SQL.