• Thank you once again for your help. I went with creating 2 separate procedures, it does the job.