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

 

    摘要: 在classview中点击function 时总出现“cannot find the definition(implementation)”的对话框,可是我在文件中已经定义和声明了。 多谢各位大虾了!!! ......
 ·javax.servlet.http 问题    »显示摘要«
    摘要: javax.servlet.http 这个包在什么地方(jdk1.3)?有没有?我编译他,但是找不到! ......


水晶报表在连接mdb(表为:T1)文件时能否有选择条件例如:只连接t1.code=’1’的内容.

水晶报表在连接mdb文件时能否有选择条件?例如:只连接t1.code=’1’的内容.

NO.1   作者: skyyiyang

水晶报表.datasour=rs  
  rs   是一個有有條件的SQL語句  
  如  
  AdoRs.Open   SqlStr,   Cn1,   adOpenKeyset,   adLockReadOnly       ,   adLockBatchOptimistic  
          Dim   m_Report   As   CrysRNewJob  
          Set   m_Report   =   New   CrysRNewJob  
          Me.MousePointer   =   vbHourglass  
          m_Report.Database.SetDataSource   AdoRs  
          m_Report.Database.Verify  
          CRViewer1.ReportSource   =   m_Report  
          CRViewer1.ViewReport

NO.2   作者: Cocoky

你可以这样做:  
                  m_Report.RecordSelectionFormula   =   "{t1.code}   =   1"  
                  CRViewer1.Refresh  
                  当不需要时改为:  
                  m_Report.RecordSelectionFormula   =   ""  
 


    摘要: 报错提示: 一、command line option syntax error. type command/? for help (出现在安装程序正在安装microsoft数据访问组间(mdac)....) 二、command line option syntax error. type command/? for help (出现在安装程序正在安装html帮助) 三、安装程序配置服务器......
» 本期热门文章:

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