home *** CD-ROM | disk | FTP | other *** search
- clear
- set talk off
- set device to screen
- close database
- sele 1
- use jh index jh1
- sele 2
- use sb index sb1
- sele 3
- use de index de1
- sele 1
- loca for jh2=a
- if eof()
- @ 4,0 clear
- wait " ╬▐"+d+"╨▐└φ╝╞╗«ú¼░┤╚╬╥Γ╝ⁿ╖╡╗╪úí"
- clos data
- retu
- endif
- a1=.t.
- do while a1
- clear
- @ 1,1 say "╔Φ▒╕▒α║┼ ╔Φ▒╕├√│╞ ╨▐└φ╘┬╖▌ ╨▐└φ╣ñ╩▒ ì
- ╨▐└φ╖╤╙├ ═ú╨¬╠∞╩²"
- l=2
- do while .not. eof()
- @ l,1 say " "+jh1
- c=jh1
- sele 2
- seek c
- @ l,10 say " "+sb3
- sele 1
- @ l,30 say " "+str(jh3,2)
- e=jh4+jh5+jh6+jh7+jh8+jh9+jh10
- @ l,40 say " "+str(e,8,2)
- @ l,50 say " "+str(jh11,10,2)
- @ l,60 say " "+str(jh12,5)
- l=l+1
- cont
- if .not. eof()
- if l>=8
- wait '░┤╚╬╥Γ╝ⁿ╝╠╨°' to w
- exit
- endif
- else
- a1=.f.
- endif
- enddo
- enddo a1
- wait '┤≥╙í┬≡(Y/N)' to w
- if w<>'y'
- close database
- a1=.t.
- retu
- endif
- clear
- @ 4,20 say "╒²╘┌┤≥╙íú¼╟δ╔╘║≥úí"
- set cons off
- p=1
- loca for jh2=a
- a1=.t.
- do while a1
- set device to print
- set print on
- set marg to 20
- set cons off
- ? chr(27)+"IJ"
- @ prow()+1,35 say "─Ω"+d+"╝╞╗«"
- ? chr(27)+"II"
- set print off
- set cons on
- @ prow()+1,150 say "╡┌"+str(p,2)+"╥│"
- @ prow()+1,1 say ì
- "=================================================================ì
- ==================================================================ì
- ======================================"
- @ prow()+1,1 say "|╔Φ▒╕▒α║┼ |╔Φ▒╕├√│╞ |╨▐└φ╘┬╖▌|ú╞╗· ì
- |ú╞╡τ |ú╞╞≡╓╪|ú╞║╕ |ú╞╣▄ ì
- |ú╞╗·╝╙|ú╞╞Σ╦ⁿ|╟»╣ñ╣ñ╩▒|╡τ╣ñ╣ñ╩▒|╞≡╓╪╣ñ╩▒|║╕╣ñ╣ñ╩▒|╣▄╣ñ╣ñ╩▒|╗·╝╙╣ñì
- ╩▒|╞Σ╦ⁿ╣ñ╩▒|╨▐└φ╖╤╙├ |═ú╨¬╠∞╩²|"
- @ prow()+1,1 say ì
- "|---------|----------------|--------|------|------|------|------|ì
- ------|------|------|--------|--------|--------|--------|--------|ì
- --------|--------|----------|--------|"
- l=6
- do while .not. eof()
- @ prow()+1,1 say "|"+jh1
- q=jh3
- b=jh1
- sele 2
- seek b
- @ prow(),11 say ì
- "|"+sb3+"|"+str(q,2)+" |"+str(sb13,4,1)+" |"+str(sb14,5,1)
- b=sb4
- sele 3
- seek b
- @ prow(),51 say "|"+str(de5,5,1)+" |"+str(de6,5,1)+" ì
- |"+str(de7,5,1)+" |"+str(de8,5,1)+" |"+str(de11,5,1)
- sele 1
- @ prow(),86 say ì
- "|"+str(jh4,6,1)+" |"+str(jh5,6,1)+" |"+str(jh6,6,1)+" |"+str(jh7,6,1)+" |"+str(jh8,6,1ì
- )+" |"+str(jh9,6,1)+" |"+str(jh10,6,1)+" ì
- |"+str(jh11,10,2)+"|"+str(jh12,5ì
- )+" |"
- cont
- l=l+1
- if .not. eof()
- if l>=50
- @ prow()+1,1 say ì
- "=================================================================ì
- ==================================================================ì
- ====================================="
- p=p+1
- ejec
- exit
- else
- @ prow()+1,1 say ì
- "|---------|----------------|--------|------|------|------|------|ì
- ------|------|------|--------|--------|--------|--------|--------|ì
- --------|--------|----------|--------|"
- l=l+1
- endif
- else
- @ prow()+1,1 say ì
- "=================================================================ì
- ==================================================================ì
- ========================================"
- a1=.f.
- endif
- enddo
- enddo a1
- set print on
- ? chr(13)
- set marg to 0
- set print off
- set device to screen
- close database
- a1=.t.
- set cons on
- retu
-