$ 0 0 Henryk, You could potentially have simplified this with:VIAUFK_AFVC and RESB orVIAUF_AFVC and RESB PeteA