I think you can do it but not in a simple query form. You need to create a non persistent BO, then set up a process with the first rule to ENTER NEW ThatBO and after that put a rule If BO.Attribute1 AND all the others UNDEFINED Then REPORT ERROR '...' or DISPLAY MESSAGE '...' Else proceed to your re-written query.