Thank you for the timely response. This does exactly what I asked for, but I see I needed to ask for a bit more. In addition to the following code that you supplied, for those AI Values less than or equal to 999 I need a Null value (the field is empty). Where would that part of the code go...