Just started a new job and looking over an IF statement that in my 7 years I've never seen before. Can someone explain to me what's going on in this statement. I never knew you can end an IF statment with a then and else then do another statement then else. I've always seen If then Else If then ...
If Not( If Len(Trim(svINPUTFIELD)) = Count(svINPUTFIELD,' ') Then 0 Else 1) Then TrimF(TrimB(svINPUTFIELD)) Else svINPUTFIELD
Thanks
If statement I never seen before
Moderators: chulett, rschirm, roy