急!DataReport报表如何及时更新? set the property "DiscardSaveData" 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 请问是谁的property ="DiscardSaveData"? Sorry,the proerty is crystal report's not datareport Sorry, is crystal report's property not datareport 用以下代码:If DataEnvironment1.rsCommand2.State = adStateOpen Then DataEnvironment1.rsCommand2.CloseEnd IfDataReport2.Show 用以下代码:If DataEnvironment1.rsCommand2.State = adStateOpen Then DataEnvironment1.rsCommand2.CloseEnd IfDataReport2.Show 同意楼上,你datareport1.reflash只是刷新表报,并未刷新报表的数据源,只有刷新数据源才能使报表的内容发生改变 If DataEnvironment1.rsCommand1.State = adStateOpen Then DataEnvironment1.rsCommand1.CloseEnd IfDataReport1.ShowPrivate Sub DataReport_QueryClose(Cancel As Integer, CloseMode As Integer)On Error Resume NextDataReport1.RefreshUnload MeEnd Sub 如何弹出一个提示框,并自动关闭 高手帮帮我!!(关于DataGrid控件数据保存EXCEL表格的问题) picture控件怎么 只保存显示出来的部分 有关hscroll控件 急急急!!! 我想从弹出对话框中得到某个文件夹的路径? 关于VB中建立ActiveX Dll工程时的问题 VB按某键程序停下 请问有没有封装好的公用对话框、公用控件的类,让我不再使用OCX,让我的工程减肥? 这样在程序中 使用拼写检查? 请问asp调用dll出错,这是什么错误? 用Odbc连接字边接数据库时,如果数据库服务器不存在(服务器动态设置),如何快速返回信息? 请XIAOBUDIAN2进来一个,回答你的问题
If DataEnvironment1.rsCommand2.State = adStateOpen Then
DataEnvironment1.rsCommand2.Close
End IfDataReport2.Show
If DataEnvironment1.rsCommand2.State = adStateOpen Then
DataEnvironment1.rsCommand2.Close
End IfDataReport2.Show
DataEnvironment1.rsCommand1.Close
End If
DataReport1.Show
Private Sub DataReport_QueryClose(Cancel As Integer, CloseMode As Integer)
On Error Resume Next
DataReport1.Refresh
Unload Me
End Sub