CLOSE all INSERT INTO sss.typ; select *from tty WHERE tel in(select tel FROM sss);thanks.
>USE tty in 0 > m.tel=tel > m.typ=typ > >USE sss in 0 >SELECT tty &&& add this line >scan > LOCATE FOR tel=m.tel > IF FOUND() > replace typ with m.typ > ELSE > replace typ WITH SPACE(10) >endif >endscan >