6.0 use 表1 scan update 表2 SET 表2.Xh=表1.Xh,表2.Xbh=表1.Xbh,表2.Lbh=表1.Lbh,表2.Jybh=表1.Jybh,表2.Lz=表1.Lz where 表2.Xbid=表1.Xbid ends
*-*VFP6.0代码 CLOSE TABLES ALL USE A1 SCAN UPDATE A2 SET XH=A1.XH,XBH=A1.XBH,JYBH=A1.JYBH,LZ=A1.LZ WHERE XBID==A1.XBID ENDSCAN SELECT A2 BROWSE