my code is working fine and i'm getting the results that i want, but i wanna make it easier since i'm using 6 updated queries to update a table. however, i'm wondering if there is a better way to combine all queries and make a simple query that do the job.
BTW is it possible to use the iif...