Modest, i hcatn figure out the IIF statement as it needs True and False values, in yours you have mentioned in case its 'True' and " & Hour(Current_Time)" in case its false. The & is not recognised. thanks for helping me out, i have already asked too much, but need to get this thesis done by end...