>>if vartype(m.tcViewAlias)<>'C' or empty(m.tcViewAlias) or
>
>Just curious... What was supposed to be the last 3rd condition after the "or" in the above? Renoir
Nothing. I was changing this program while posting it. Mark McCasland pointed out to me once, that vartype check should preceed empty check, so I change all my programs, if I notice this problem. Delete the last or condition.
If it's not broken, fix it until it is.
My Blog