18321.html
来自「VB技巧问答10000例 VB技巧问答10000例」· HTML 代码 · 共 27 行
HTML
27 行
<html> <head> <title>Re: 请问...关于Data Report 的资料不会refresh......烦请高手指点迷津一下</title> </head> <body bgcolor="#FFFFFF" vlink="#808080"> <center> <h1>Re: 请问...关于Data Report 的资料不会refresh......烦请高手指点迷津一下</h1> </center><hr size=7 width=75%><hr size=7 width=75%><p>Posted by 大汉堡 on September 02, 1999 at 16:21:22:<p>In Reply to: <a href="18246.html">请问...关于Data Report 的资料不会refresh......烦请高手指点迷津一下</a> posted by 阿呆 on September 01, 1999 at 14:16:20:<p>: 小弟有一些问题....<br>: 之前有篇文章..一位大汉堡说....<br>: 1.两次查询间DataReport记得关闭<br>: 2.两次查询间DataEnvironment记得关闭再开<br>: 请问指令怎么下呢?<br>: 或有其它解决此一refresh问题的方法~~<br>: 谢谢<p>1.DataReport要Unload(使用者的动作) <br>2.DataEnvironment则是程式自己做Close的动作<br>DataEnvironment1.rsCommand.Close(对象是<br>DataReport连接的rsCommand)<br>3.你的第二次查询动作<br>4.DataReport.Show<br>最好是DataReport一关闭就跟着做rsCommand的Close<br>所以置于:<br>Private Sub DataReport_Terminate()<br> If DataEnvironment1.rsCommand1.State = 1 Then<br> DataEnvironment1.rsCommand1.Close<br> End If<br>End Sub<br><br><br><hr size=7 width=75%><p><a name="followups">Follow Ups:</a><br><ul><!--insert: 18321--><!--top: 18330--><li><a href="18330.html">Re: 请问...关于Data Report 的资料不会refresh......烦请高手指点迷津一下</a> <b>阿呆</b> <i>17:46:22 9/02/99</i>(<!--responses: 18330-->0)<ul><!--insert: 18330--></ul><!--end: 18330--></ul><!--end: 18321--><br><hr size=7 width=75%><p></body></html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?