Quote:

Does this make any sense?




Some, but if I replace "sort" with "filter" it makes a lot more.

I'm assuming that you do mean filter, rather than sort?

If so then it is quite easy. Something like this:

Code:
; Default action is to include item
$iIncludeThis=1
; If there is a server filter and server name does not match then exclude it
If $ServSort.Text<>"None" AND $ServSort.Text<>$Server $iIncludeThis=0 EndIf
; If there is a reported by filter and reported by name does not match then exclude it
If $ReportSort.Text<>"None" AND $ReportSort.Text<>$BY $iIncludeThis=0 EndIf
; If there is an error by filter and error does not match then exclude it
If $ErrorSort.Text<>"None" AND $ErrorSort.Text<>$E $iIncludeThis=0 EndIf

; Still interested?
If $iIncludeThis
; Add to the array here...
EndIf