I sent a fixed statement to you last night. Isn't it working correctly? You were missing the "-`" for the department on the account ranges.
_________________________
Andrew Bates