home *** CD-ROM | disk | FTP | other *** search
- *⌐░⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐┤
- *⌐ª Program: EXP17_3.PRG ⌐ª
- *⌐ª Function: ╩╣╙├╧╡═│─┌┤µ▒Σ┴┐┤≥╙í▒¿▒φ╡─╖╢└². ⌐ª
- *⌐ª DBF & File: CUSTOMER.DBF ⌐ª
- *⌐╕⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐╝
- SET TALK OFF
- SET PRINTER ON
-
- STORE "LINEFEED" TO _PADVANCE
- * ╔Φ╢¿▓╔╙├╨╨╜°╓╜╖╜╩╜
- STORE 2 TO _PSPACING
- * ╔Φ╢¿╨╨╝Σ╛α╬¬ 2
- STORE 1 TO _PAGENO
- * ╜½ _PAGENO ╓╪╔Φ╬¬ 1
- width = _RMARGIN-_LMARGIN
- * ╝╞╦π┤≥╙í╡─┐φ╢╚
- YY = STR(YEAR(DATE()),4)
- MM = STR(MONTH(DATE()),2)
- DD = STR(DAY(DATE()),2)
- TITLE = "<<┐═╗º╩²╛▌▒¿▒φ>>"
-
- USE CUSTOMER
- OnPageLine = IIF(_PSPACING>1,_PLENGTH-(2*_PSPACING+3), ;
- _PLENGTH-8)
- ON PAGE AT LINE OnPageLine DO Pg_Brk
-
- DO Pg_head
- SCAN FOR YTDPURCH > 8000
- ? PADR(CNO,8),PADR(CONTACT,22),PADR(ADDRESS,32),PADR(PHONE,14)
- ENDSCAN
- ON PAGE && ╚í╧√╧╚╟░╡─ ON PAGE ├ⁿ┴ε╔Φ╢¿
- FOR I=_PLINENO TO OnPageLine STEP _PSPACING
- ?
- ENDFOR
- DO Pg_foot
-
- * ╧╡═│╫┤╠¼╕┤╘¡
- STORE 1 TO _PSPACING
- STORE "FORMFEED" TO _PADVANCE
- SET PRINTER OFF
- SET TALK ON
-
- PROCEDURE Pg_Brk
- DO Pg_foot
- DO Pg_head
- * ┤≥╙í╡┌╢■╥│╥╘║≤╡─▒φ═╖
- RETURN
-
- * ▒φ╬▓┤≥╙í
- PROCEDURE Pg_foot
- ? REPLICATE("=",width)
- ? PADC("┤≥╙í╚╒╞┌: "+YY+" ─Ω "+MM+" ╘┬ "+DD+" ╚╒ ",width)
- EJECT PAGE
- RETURN
-
- * ▒φ═╖┤≥╙í
- PROCEDURE Pg_head
- ?? "╥│┤╬: " AT 65,LTRIM(STR(_PAGENO,4))
- ? PADC(TITLE,width)
- ? "┐═╗º▒α║┼"+PADC("┴¬ ╧╡ ╚╦",22)+PADC("╫í ╓╖",32)+;
- PADC("╡τ ╗░",14)
- ? REPLICATE("=",width)
- RETURN