⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 8823.html

📁 VB技巧问答10000例 VB技巧问答10000例
💻 HTML
字号:
<html>
  <head>
    <title>Re: Crystal Report 之 Date 问题!</title>
  </head>
  <body bgcolor="#FFFFFF" vlink="#808080">
    <center>
      <h1>Re: Crystal Report 之 Date 问题!</h1>
    </center>
<hr size=7 width=75%>

<hr size=7 width=75%><p>
Posted by <a href="mailto:6796@geocities.com">Nelson</a> on January 04, 1999 at 09:15:19:<p>
In Reply to: <a href="8819.html">Crystal Report 之 Date 问题!</a> posted by 金田七 on January 04, 1999 at 03:27:15:<p>
: 本人欲选择两个日子中的资料, 程式如下:<p>: CrystalReport1.ReportFileName = "C:\HQMain\ShopRet.rpt"<br>: CrystalReport1.DataFiles(0) = "C:\HQMain\mdb\main.mdb"<br>: CrystalReport1.SelectionFormula = "{零售资料.日期}between '#" & Text2.Text & "# and #" & Text1.Text & "#"<br>: CrystalReport1.Action = 0<p>: 程式发生错误,不知何处出现问题,请教各方高人之意见. 谢谢!<p>我想你应该用的是4.5版的Crystal Report<br>很抱歉,没用过.不过提供你6.0版的Crystal Report,语法应该差不多啦<br>CrystalReport1.SelectionFormula = "{零售资料.日期} in date(12,31,1998) to date(1,1,1999)"<br>如果没错,应该是用in .. to .. 而不是用between<br>试试吧<br>
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 8823-->
</ul><!--end: 8823-->
<br><hr size=7 width=75%><p>

</body></html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -