当前位置:首页
开发技术指南» 文章正文
    引言:
 

 

    摘要: 为中国争口气! 投中国的长城(the great wall of china )和布达拉宫(the potala palace, lhasa )一票,今天距离世界七大奇迹选举只剩54 天了,但迄今为止,参加投票的中国人只占投票人数的0.59, 而秘鲁却有21.98, 中国网民只要每人投一票,都比秘鲁多十几倍! ?中国只有长城和布达拉宫在侯选之列。请参加投票!如果长城和布达拉宫入选,那中国就......
    摘要: 我要处理的是word另存为html的文件,现在要对该htm文件进行减肥。我知道现在有很多这样的专门工具,但现在我必须要将这个减肥过程写到我的程序中去。 1.要将所有注视标签内容去掉。就是:<!--[……]-->如:< !- -[if gte mso 9]>…<![endif]-->这些标签和中间的内容去掉。 2.将文件中如<![if !vml]&g......


Who can help me about parameter in crysatal report 8.5

How   do   vb   application   pass   the   value   to   parameter   in   crystal   report   8.5.   I   use   the   crystal   report   activex   control.   If   this   problem   is   solved   ,   I   give   him   100   points   immediately.    
  Thanks.

NO.1   作者: frieder

1)code   VB   in   the   following   way   (crystal   8.5):  
  With   Me.CrystalReport1  
          .ReportFileName   =   crptSRC  
          .ParameterFields(0)   =   "refno;"   &   Me.MG1.Text   &   ";true"  
          .ParameterFields(1)   =   "cname;"   &   Form2.Text1(1).Text   &   ";true"  
          .ParameterFields(2)   =   "ename;"   &   Form2.Text1(2).Text   &   ";true"  
          .ParameterFields(3)   =   "receiver;"   &   Form2.Data2.Recordset!Receiver   &   ";true"  
          .ParameterFields(4)   =   "delivery;"   &   Form2.Data2.Recordset!Delivery   &   ";true"  
          .ParameterFields(5)   =   "origin;"   &   Form2.Data2.Recordset!Origin   &   ";true"  
          .DiscardSavedData   =   False  
          .Action   =   1  
  End   With  
   
  2)in   Crystal   8.5:  
  define   the   corresponding   parameter   fields.  
   
 

NO.2   作者: black_snail

you   may   use   the   formular   to   replace   the   parameter.   First,   create   a   new   formular   in   the   crystal   report   file,   then   you   assign   the   value   to   the   formular   in   vb   application.   For   example,   you   should   pass   the   customername   to   the   rpt   file:  
  1.   create   a   new   formular   txtcustname  
        varstring   txtcustname;  
   
  2.   VB   application   code:  
        with   crystalreport  
                  .formular(0)   =   "@txtcustname="   &   ""   &   txtcustomername   &""  
        end   with  
   
  txtcustomername   is   a   textbox   control   which   is   used   to   input   the   customer   name.  
   
   
 


 ·关于asp开发聊天室的疑问    »显示摘要«
    摘要: 如何实现在线人数及会员的列表,如何实现管理员踢人的功能 如何实现无刷新递交聊天语句,如何实现表情图片?谁能说说实现的原理啊! 请各位帮帮忙! ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE