hello, thank to all your replies, but I tried the next syntax and it works...
... mid(myText,1,inSTR(myText,chr(13))) like ...
I changed the <br> for chr(13) and it works...
Thank you very much, I was reading all the replies and KLMCats post said something about add / so I was thinking the problem maybe was the <>, that was the hint.
Thanks again!
Galamero