DHZ="" DHZ1=0 USE LKC IN 1 USE LYSF IN 2 SELE 1 SCAN FOR RECNO()>=RECCOUNT()-1 && 将工作区1的最后两条记录替换到工作区2的相应位置 DHZ=DSPPH DHZ1=DPM REPLACE RECORD RECNO(1) DPM with DHZ1 FOR DSPPH=DHZ IN 2 ENDSCAN CLOSE DATA