home *** CD-ROM | disk | FTP | other *** search
- clear
- set talk off
- close database
- use dx
- pp='q'
- w='q'
- do dx6
- if w='r'
- clos data
- retu
- endif
- if pp<>'y'
- clos data
- retu
- endif
- set device to print
- set print on
- set cons off
- ? chr(27)+"IJ"
- set print off
- set cons on
- b=1
- p=1
- a2=.t.
- do while a2
- @ 0,45 say "╡τ╞°╧▀┬╖╠¿╒╩"
- @ 1,1 say " "
- @ 2,95 say "╡┌"+str(p,2)+"╥│"
- @ 3,1 say ì
- "=================================================================ì
- ========================================================"
- @ 4,1 say "|╧▀┬╖▒α║┼ |╧▀┬╖├√│╞ |╣µ╕± |╨═║┼ ì
- |═╢▓·╚╒╞┌|╞╠╔Φ╖╜╩╜ |╩╘╤Θ╡τ╤╣|╩╘╤Θ╓▄╞┌| ░▓╫░╡╪╡π |"
- @ 5,1 say ì
- "|---------|----------|--------------------|----------------|--------|------ì
- ------|--------|--------|--------------------|"
- l=6
- goto b
- do while .not. eof()
- @ prow()+1,1 say "|"+dx7
- @ prow(),11 say "|"+dx1
- @ prow(),22 say "|"+dx2
- @ prow(),43 say "|"+dx3
- a=dtoc(dx11)
- j1=substr(a,7,2)
- j2=substr(a,1,2)
- j3=substr(a,4,2)
- a=j1+'.'+j2+'.'+j3
- @ prow(),60 say "|"+a
- @ prow(),69 say "|"+dx4
- @ prow(),82 say "|"+dx6
- @ prow(),91 say "| "+str(dx5,4)+" |"+dx12+"|"
- l=l+1
- skip
- if .not. eof()
- if l<=50
- @ prow()+1,1 say ì
- "|---------|----------|--------------------|----------------|--------|------ì
- ------|--------|--------|--------------------|"
- l=l+1
- else
- @ prow()+1,1 say ì
- "=================================================================ì
- ======================================================="
- ejec
- b=recno()
- goto bott
- skip
- p=p+1
- a2=.t.
- endif
- else
- @ prow()+1,1 say ì
- "=================================================================ì
- ========================================================"
- a2=.f.
- endif
- enddo
- enddo a2
- set print on
- ? chr(13)
- set print off
- set device to screen
- a1=.t.
- retu
-
-
-