home *** CD-ROM | disk | FTP | other *** search
- set dele on
- clear all
- erase qq.dbf
- erase zy.dbf
- copy file c:\yyx\thkm1.dbf to a:qq.dbf
- sele A
- use qq
- copy stru to a:zz.dbf
- copy stru to a:qq2.dbf
- sele B
- use zy
- sele A
- do while !eof()
- vvk=vvkm
- kk=kkm
- c3=jc3
- c10=jc10
- c11=jc11
- dd=zd
- sele B
- locate for vvkm=vvk
- if !found()
- go bottom
- append blank
- replace vvkm with vvk,kkm with kk,jc3 with c3,jc10 with c10
- replAce jc11 with c11,zd with dd
- endif
- sele a
- dele all for vvkm=vvk
- go top
- enddo
- set dele off
- sele a
- recall all
- return