免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
123
最近访问板块 发新帖
楼主: sdccf
打印 上一主题 下一主题

[SCO UNIX] 农村信用社信贷管理系统 [复制链接]

论坛徽章:
0
21 [报告]
发表于 2004-03-29 23:24 |只看该作者

农村信用社信贷管理系统

打印的报表表名字体能改变(如放大,缩小等)就更好了

论坛徽章:
0
22 [报告]
发表于 2004-03-29 23:26 |只看该作者

农村信用社信贷管理系统

可是现在不是很多省都在开发自己的贷款管理程序吗?我先说的那家公司的应该还不错,有好几个省都在用!你可以看看参考一下,他的网页上有下载试用版!那个软件只是按键不太符合习惯!

论坛徽章:
0
23 [报告]
发表于 2004-03-29 23:27 |只看该作者

农村信用社信贷管理系统

报表打印的字体是可以根据我们的需要改变的,  而且还可根据需要增加新的功能

论坛徽章:
0
24 [报告]
发表于 2004-03-29 23:29 |只看该作者

农村信用社信贷管理系统

报表打印的字体是可以根据我们的需要改变的,  而且还可根据需要增加新的功能

论坛徽章:
0
25 [报告]
发表于 2004-03-29 23:32 |只看该作者

农村信用社信贷管理系统

能说一下在unix foxpro下如何改字体吗?

论坛徽章:
0
26 [报告]
发表于 2004-03-29 23:45 |只看该作者

农村信用社信贷管理系统

可具体参考  foxbase2.11 的有关命令

论坛徽章:
1
15-16赛季CBA联赛之北控
日期:2022-03-04 22:35:50
27 [报告]
发表于 2004-03-30 08:16 |只看该作者

农村信用社信贷管理系统

[quote]原帖由 "abist"]能说一下在unix foxpro下如何改字体吗?[/quote 发表:



贴一个打印报表的例子:





  1. use sydw

  2. sydwmc=dwmc

  3. use defaprn

  4. btd=alltrim(btfd)

  5. btx=alltrim(btqx)

  6. lineys=alltrim(ysh)

  7. lineqx=alltrim(ysqx)

  8. lx=prtlx

  9. use xtsetup

  10. rs=qsrs

  11. dydh=sfdydh

  12. rdate=ctod(gzrq)

  13. use tmp/xcftmp01

  14. *set safety off

  15. *copy to tmp/xcftmp for xch=m.dwbh

  16. *set safety on

  17. *use tmp/xcftmp

  18. sum all hqpj to h1

  19. sum all dqpj to h2

  20. sum all dhpj to h7

  21. sum all hqxcf to h3

  22. sum all dqxcf to h4

  23. sum all dhxcf to h5

  24. *sum all hjxcf to h5

  25. sum all hqdd to z1

  26. sum all dqdd to z2

  27. sum all dhdd to z3

  28. z4=z1+z2+z3

  29. h6=h1+h2+h7

  30. h8=h3+h4+h5

  31. zrs=reccount()

  32. go top

  33. define window yw from 6,6 to 10,39 shadow color scheme 5

  34. activate window yw

  35. move window yw center

  36. yn='Y'

  37. @1,2 say "是否压缩打印?" get yn valid yn$"YyNn" error "只能选择Y或N"

  38. read

  39. if yn='Y' .or. yn='y'

  40.    startys=lineys

  41.    else

  42.    startys=lineqx

  43. endif

  44. clear

  45. @1,2 say "每页打印行数:" get rs picture "99" valid rs>;0

  46. read

  47. release window yw       

  48. zys=zrs/rs

  49.        if dydh='1'

  50.        LN1=" ┏━━━━━┳━━━┳━━━━━┳━━━━━┳━━━━━┳━━━━━┳━━━━━┳━━━━━┳━━━━━┳━━━━━┳━━━━━┳━━━━━┳━━━━━┳━━━━━┳━━━━┓"

  51.        LN2=" ┃          ┃      ┃ 活    期 ┃ 活    期 ┃          ┃ 定    期 ┃ 定    期 ┃          ┃ 定    活 ┃ 定    活 ┃          ┃ 合    计 ┃ 合    计 ┃  合  计  ┃        ┃"       

  52.       LN2b=" ┃ 子协储号 ┃协储员┃          ┃          ┃ 协 储 费 ┃          ┃          ┃ 协 储 费 ┃          ┃          ┃ 协 储 费 ┃          ┃          ┃          ┃ 签  名 ┃"       

  53.       LN2a=" ┃          ┃      ┃ 到达余额 ┃ 平均余额 ┃          ┃ 到达余额 ┃ 平均余额 ┃          ┃ 到达余额 ┃ 平均余额 ┃          ┃ 到达余额 ┃ 平均余额 ┃  协储费  ┃        ┃"       

  54.        LN3=" ┣━━━━━╋━━━╋━━━━━╋━━━━━╋━━━━━╋━━━━━╋━━━━━╋━━━━━╋━━━━━╋━━━━━╋━━━━━╋━━━━━╋━━━━━╋━━━━━╋━━━━┫"

  55.        LN4=" ┗━━━━━┻━━━┻━━━━━┻━━━━━┻━━━━━┻━━━━━┻━━━━━┻━━━━━┻━━━━━┻━━━━━┻━━━━━┻━━━━━┻━━━━━┻━━━━━┻━━━━┛"

  56.      endif

  57.        if dydh='0'

  58.        LN1=" ┏━━━━━┳━━━━━┳━━━━━┳━━━━━┳━━━━━┳━━━━━┳━━━━┳━━━━┓"

  59.        LN2=" ┃          ┃ 活    期 ┃          ┃ 定    期 ┃          ┃ 合    计 ┃ 合  计 ┃        ┃"       

  60.       LN2b=" ┃ 子协储号 ┃          ┃协  储  费┃          ┃协  储  费┃          ┃        ┃ 签  名 ┃"       

  61.       LN2a=" ┃          ┃ 平均余额 ┃          ┃ 平均余额 ┃          ┃ 平均余额 ┃ 协储费 ┃        ┃"       

  62.        LN3=" ┣━━━━━╋━━━━━╋━━━━━╋━━━━━╋━━━━━╋━━━━━╋━━━━╋━━━━┫"

  63.        LN4=" ┗━━━━━┻━━━━━┻━━━━━┻━━━━━┻━━━━━┻━━━━━┻━━━━┻━━━━┛"

  64.      endif

  65. prtfile=sys(3)

  66. set device to print

  67. set print on

  68. set printer to cat>;tmp/&prtfile

  69. line=1

  70. pagenum=1

  71. do while .not. eof()

  72.         if dydh='1'

  73.         @prow()+1,60 say chr(27)+btd+alltrim(sydwmc)+"协储员子协储号协储费表"+chr(27)+btx

  74.         *@prow()+1,83 say replicate("=",40)

  75.     if lx="L"

  76.         @prow()+1,1 say chr(27)+startys+chr(28)+"S"+chr(0)+chr(0)

  77.         endif

  78.     if lx="O"

  79.         @prow()+1,1 say chr(27)+startys+chr(28)+"$"+chr(6)

  80.         endif

  81.         @prow()+1,1 say ' '

  82.         @prow()+1,5 say "单位:"+dwmc+space(86)+"起止日期:"+dtoc(f_date)+"---"+dtoc(s_date)

  83.         endif

  84.         if dydh='0'

  85.         @prow()+1,35 say chr(27)+btd+alltrim(sydwmc)+"协储费清单"+chr(27)+btx

  86.         @prow()+1,33 say replicate("=",25)

  87.         @prow()+1,1 say chr(27)+startys+chr(28)+"$"+chr(6)

  88.         @prow()+1,5 say "协储员:"+xcy+space(33)+"起止日期:"+dtoc(f_date)+"---"+dtoc(s_date)

  89.         endif

  90. *    xch2=dyxch

  91.         @prow()+1,1 say ln1

  92.         @prow()+1,1 say ln2

  93.         @prow()+1,1 say ln2b

  94.         @prow()+1,1 say ln2a

  95.         for line=1 to rs

  96.               @prow()+1,1 say ln3

  97.        if zxch=0

  98.           if dydh='1'

  99.           @prow()+1,1 say " ┃"+str(xch,6)+"    ┃"+substr(xcy,1,6)+"┃"+str(hqdd,10,2)+"┃"+str(hqpj,10,2)+"┃"+str(hqxcf,10,2)+"┃"+str(dqdd,10,2)+"┃"+str(dqpj,10,2)+"┃"+str(dqxcf,10,2)+"┃"+str(dhdd,10,2)+"┃"+str(dhpj,10,2)+"┃"+str(dhxcf,10,2)+"┃"+str(hqdd+dqdd+dhdd,10,2)+"┃"+str(hqpj+dqpj+dhpj,10,2)+"┃"+str(hqxcf+dqxcf+dhxcf,10,2)+"┃        ┃"

  100.           endif

  101.           if dydh='0'

  102.           @prow()+1,1 say " ┃"+str(xch,6)+"    ┃"+str(hqpj,10,2)+"┃"+space(8)+"┃"+str(dqpj,10,2)+"┃"+space(8)+"┃"+str(hqpj+dqpj,10,2)+"┃"+space(8)+"┃        ┃"

  103.           endif

  104.        endif

  105.        if zxch>;0 .and. zxch<10

  106.           if dydh='1'

  107.           @prow()+1,1 say " ┃"+str(xch,6)+"-"+alltrim(str(zxch,3))+"  ┃"+substr(xcy,1,6)+"┃"+str(hqdd,10,2)+"┃"+str(hqpj,10,2)+"┃"+str(hqxcf,10,2)+"┃"+str(dqdd,10,2)+"┃"+str(dqpj,10,2)+"┃"+str(dqxcf,10,2)+"┃"+str(dhdd,10,2)+"┃"+str(dhpj,10,2)+"┃"+str(dhxcf,10,2)+"┃"+str(hqdd+dqdd+dhdd,10,2)+"┃"+str(hqpj+dqpj+dhpj,10,2)+"┃"+str(hqxcf+dqxcf+dhxcf,10,2)+"┃        ┃"

  108.           endif

  109.           if dydh='0'

  110.           @prow()+1,1 say " ┃"+str(xch,6)+"-"+alltrim(str(zxch,3))+"  ┃"+str(hqpj,10,2)+"┃"+space(8)+"┃"+str(dqpj,10,2)+"┃"+space(8)+"┃"+str(hqpj+dqpj,10,2)+"┃"+space(8)+"┃        ┃"

  111.           endif

  112.        endif

  113.        if zxch>;=10 .and. zxch<100

  114.           if dydh='1'

  115.           @prow()+1,1 say " ┃"+str(xch,6)+"-"+alltrim(str(zxch,3))+" ┃"+substr(xcy,1,6)+"┃"+str(hqdd,10,2)+"┃"+str(hqpj,10,2)+"┃"+str(hqxcf,10,2)+"┃"+str(dqdd,10,2)+"┃"+str(dqpj,10,2)+"┃"+str(dqxcf,10,2)+"┃"+str(dhdd,10,2)+"┃"+str(dhpj,10,2)+"┃"+str(dhxcf,10,2)+"┃"+str(hqdd+dqdd+dhdd,10,2)+"┃"+str(hqpj+dqpj+dhpj,10,2)+"┃"+str(hqxcf+dqxcf+dhxcf,10,2)+"┃        ┃"

  116.           endif

  117.           if dydh='0'

  118.           @prow()+1,1 say " ┃"+str(xch,6)+"-"+alltrim(str(zxch,3))+" ┃"+str(hqpj,10,2)+"┃"+space(8)+"┃"+str(dqpj,10,2)+"┃"+space(8)+"┃"+str(hqpj+dqpj,10,2)+"┃"+space(8)+"┃        ┃"

  119.           endif

  120.        endif

  121.        if zxch>;=100

  122.           if dydh='1'

  123.           @prow()+1,1 say " ┃"+str(xch,6)+"-"+alltrim(str(zxch,3))+"┃"+substr(xcy,1,6)+"┃"+str(hqdd,10,2)+"┃"+str(hqpj,10,2)+"┃"+str(hqxcf,10,2)+"┃"+str(dqdd,10,2)+"┃"+str(dqpj,10,2)+"┃"+str(dqxcf,10,2)+"┃"+str(dhdd,10,2)+"┃"+str(dhpj,10,2)+"┃"+str(dhxcf,10,2)+"┃"+str(hqdd+dqdd+dhdd,10,2)+"┃"+str(hqpj+dqpj+dhpj,10,2)+"┃"+str(hqxcf+dqxcf+dhxcf,10,2)+"┃        ┃"

  124.           endif

  125.           if dydh='0'

  126.           @prow()+1,1 say " ┃"+str(xch,6)+"-"+alltrim(str(zxch,3))+"┃"+str(hqpj,10,2)+"┃"+space(8)+"┃"+str(dqpj,10,2)+"┃"+space(8)+"┃"+str(hqpj+dqpj,10,2)+"┃"+space(8)+"┃        ┃"

  127.           endif

  128.       endif

  129.           skip

  130.           if eof()

  131.              @prow()+1,1 say ln3

  132.              if dydh='1'

  133.              @prow()+1,1 say " ┃ 合    计 ┃      ┃"+str(z1,10,2)+"┃"+str(h1,10,2)+"┃"+str(h3,10,2)+"┃"+str(z2,10,2)+"┃"+str(h2,10,2)+"┃"+str(h4,10,2)+"┃"+str(z3,10,2)+"┃"+str(h7,10,2)+"┃"+str(h5,10,2)+"┃"+str(z4,10,2)+"┃"+str(h6,10,2)+"┃"+str(h8,10,2)+"┃        ┃"

  134.              endif

  135.              if dydh='0'

  136.              @prow()+1,1 say " ┃ 合    计 ┃"+str(h1,10,2)+"┃"+space(8)+"┃"+str(h2,10,2)+"┃"+space(8)+"┃"+str(h6,10,2)+"┃"+space(8)+"┃        ┃"

  137.              endif

  138.              exit

  139.           endif

  140.         endfor

  141.             @prow()+1,1 say ln4

  142.         if dydh='1'

  143.         @prow()+1,1 say space(6)+"打印日期: "+alltrim(str(year(rdate)))+"年"+alltrim(str(month(rdate)))+"月"+alltrim(str(day(rdate)))+"日     打印时间: "+time()+space(80)+"第 "+alltrim(str(pagenum))+" 页"+"  (共"+alltrim(str(ceiling(zys)))+"页)"

  144.         endif

  145.         if dydh='0'

  146.         @prow()+1,1 say space(6)+"打印日期: "+alltrim(str(year(date())))+"年"+alltrim(str(month(date())))+"月"+alltrim(str(day(date())))+"日     打印时间: "+time()+space(20)+"第 "+alltrim(str(pagenum))+" 页"+"  (共"+alltrim(str(ceiling(zys)))+"页)"

  147.         endif

  148.         @prow()+1,1 say chr(27)+lineqx

  149. eject

  150. pagenum=pagenum+1

  151. line=1

  152. enddo

  153. set printer to

  154. set device to screen

  155. set print off

  156. define window yw from 1,7 to 9,26 shadow color scheme 6

  157. activate window yw

  158. move window yw center

  159. do while .t.

  160. @0,2 to 6,15

  161. @1,4 prompt "1-显    示" color scheme 5

  162. @3,4 prompt "2-打    印" color scheme 5

  163. @5,4 prompt "0-退    出" color scheme 5

  164. menu to c

  165. do case

  166.    case c=1

  167.         !vmore tmp/&prtfile

  168.         m.dwbh=0

  169.         *release window yw

  170.    case c=2

  171.         !lp tmp/&prtfile>;/dev/null

  172.         m.dwbh=0

  173.         *release window yw

  174.    case c=3

  175.         release window yw

  176.         retu

  177. endcase

  178. enddo

复制代码

论坛徽章:
0
28 [报告]
发表于 2004-03-30 08:39 |只看该作者

农村信用社信贷管理系统

收藏
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP