The value of the proximity for a logical search must be in the range 1 to 99999 for lines and 0 to 99999 for characters. You have entered a value outside one of these ranges.