Thanks
Thanks for the answers....
The IIf statement didn't work too properly, got an error first time that expression was to complex, so i indeed had to make a case statement, this worked fine,
but
Making the other table was something i had thought of, but i thought actually that it was not...