Dear Sergey,
Is it basically like that:
search_text = "%"+"TS,MT"+"%"
select * from location where code like search_text
since, log_user.code = "TS,MT"
Best regards,
Aaron Chu
********************************************************
Working with Visual FoxPro is a lot of FUN!
********************************************************