Hi Gina, Thank you, I tried your sql code, its the same as before.
I guess i am not able to assign query value to the text field.
either do loop failing or
Forms(stDocName).COMPla = COMPl
is not able to pass on the result to the text field.
its my guess , I am not sure.
If i do not use for...