"实时错误'9'"下标越界
任何风 2004-10-01 09:07:42 对DATAREPORT报表一些标签赋值,如下
'-----------------------------------------
With prn清单
.Orientation = 2
Set .DataSource = adoPrimaryRS
.Sections(4).Controls("Label15").Caption = Format(Date, "Long
Date")
.Sections(4).Controls("Label16").Caption = Sum_str
If Chk.Value = 0 Then
.PrintReport
Else
.Show 1
End If
End With
'===========================================
老是报错
"实时错误'9'"
下标越界
但找不出任何有问题的地方,以前写的程序中也是这样写,但没有报此错误,大家有没遇到
过的。