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

📄 8164.html

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

<hr size=7 width=75%><p>
Posted by <a href="mailto:myang@erl.itri.org.tw">yoyo</a> on December 09, 1998 at 13:06:31:<p>
In Reply to: <a href="8129.html">Re: 请教有关Crystal Report</a> posted by Keven on December 08, 1998 at 15:09:33:<p>
: 第一:在Crystal Report中File/Save Data with Report的打勾先去掉<br>: 第二:你要显示的栏位先定义好,再储存此报表<br>: 第三:于VB中设定如下<br>: with CryReport1<br>:    .SQLQuery = 这里放你要呼叫之StoreProcedure字串<br>:    .LogonInfo(0) = "DSN = xxx;UID = sa;PWD =;"<br>:    .ReportFileName = App.Path & "\..XXX.rpt"<br>:    .Destination = 0<br>:    .Action = 1<br>: end with<br>: 我想这样因该可以吧!自己试试看!!<br>谢谢你<br>可是我还有问题想请教你....<br>因为我使用一个参数由Stored Procedure<br>查询出一个table资料来<br>可是Crystal Report 必须使用一个table<br>产生报表......而我查询的结果是一个虚拟的table<br>如何在Crystal Report预先产生报表来接收<br>Stored Procedure的资料呢???<br>以下是程式部分...<br>因为我不知道这个Stored Procedure<br>是否有启动查询......<br>不过结果仍无法传至Crystal Report....<p>With CrystalReport1<br>.SQLQuery = "Exec erbcompile..erpr_plancost1 '" & Form1.Combo1.Text & "' "<br>.Connect = "DSN = erl_dp2;UID = sa;PWD =j08117;"<br>.ReportFileName = "C:\report1.rpt"<br>.DiscardSavedData = True<br>.Destination = 0<br>.Action = 1<br>End With<br> <br>谢谢.....
<br>
<br><hr size=7 width=75%><p>
<a name="followups">Follow Ups:</a><br>
<ul><!--insert: 8164-->
<!--top: 8189--><li><a href="8189.html">Re: 请教有关Crystal Report</a> <b>Keven</b> <i>08:50:05 12/10/98</i>
(<!--responses: 8189-->0)
<ul><!--insert: 8189-->
</ul><!--end: 8189-->
</ul><!--end: 8164-->
<br><hr size=7 width=75%><p>

</body></html>

⌨️ 快捷键说明

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