我没有执行多个操作,只有这个报表调用了该存储过程,该存储过程在SQL Server中执行正常。下面是具体的调用过程 Private Sub DataReport_Initialize() '设置查询条件 If BSDCEAFModelDB.rsHeatNr_Report_Grouping.State = adStateOpen Then BSDCEAFModelDB.rsHeatNr_Report_Grouping.Close End If BSDCEAFModelDB.HeatNr_Report_Grouping gReportHeatNr End Sub
Private Sub DataReport_Initialize()
'设置查询条件
If BSDCEAFModelDB.rsHeatNr_Report_Grouping.State = adStateOpen Then
BSDCEAFModelDB.rsHeatNr_Report_Grouping.Close
End If
BSDCEAFModelDB.HeatNr_Report_Grouping gReportHeatNr
End Sub