首页 新闻 会员 周边

水晶报表控件时系统要提示 对象"ACTION"的方法"CrystalCtrl"失败。

0
悬赏园豆:20 [已关闭问题] 关闭于 2011-03-10 17:33

这是啥回事呀!

  Rpt_SReport.Connect = "dsn=ntsql;uid=sa;pwd=;dsq=unistardb"
        Rpt_SReport.Formulas(0) = "htlname='" + GVS_HtlName + "'"
        Rpt_SReport.Formulas(1) = "condition='" + " 操作员:" + GVS_Userid + "'"
        Rpt_SReport.Formulas(2) = "pdate='" + Format(Now, "yyyy-mm-dd") + "'"
        Rpt_SReport.Formulas(3) = "ptime='" + Format(Now, "hh:mm") + "'"
        Rpt_SReport.SelectionFormula = "{fguest.gst_id}=" + Str(MVL_Member_Fgst)
        Rpt_SReport.WindowLeft = 0
        Rpt_SReport.WindowTop = 0
        Rpt_SReport.WindowWidth = Screen.Width / 15
        Rpt_SReport.WindowHeight = Screen.Height / 15
        Rpt_SReport.ReportFileName = GVS_Path + "report\fguest.rpt"
        Rpt_SReport.Action = 1  '这里出错了

问题补充: 解决了, 原来是360把我的拦了
风浪的主页 风浪 | 老鸟四级 | 园豆:2996
提问于:2011-03-10 15:40
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册