• It's quite obvious really - isn't it. Now I just need to ensure the stored procedure will accept a NULL start and end date and return an empty record set and Bob's your fathers brother!

    Thanks for your help.