Thanks Jim, yep I checked that and all fine.
But if I run the three statement here, I get the same result. As though the service venue (100, 5, 6) is not selected for.
spprintTopRFAByVenue 100, '01/01/2004', '01/02/2004', 20
spprintTopRFAByVenue 5, '01/01/2004', '01/02/2004', 20...