我用的vb6.0+水晶报表9.0
CRViewer91.Top = 0
CRViewer91.Left = 0
CRViewer91.Height = ScaleHeight
CRViewer91.Width = ScaleWidthconn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\mkzyy\mkzyy.mdb;Persist Security Info=False"
Set rs = New ADODB.Recordset
sqlstr = "select * from mkzyy_fsk where id = " & CInt(findid)
rs.Open sqlstr, conn, 1, 1
If Not rs.EOF Then
CrystalReport1.Text2.Text = rs("zd_name")
End If
rs.Close
在给CrystalReport1.Text2.Text 赋值时
错误提示:不能给只读属性赋值
请问为什么?在线等
CRViewer91.Top = 0
CRViewer91.Left = 0
CRViewer91.Height = ScaleHeight
CRViewer91.Width = ScaleWidthconn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=D:\mkzyy\mkzyy.mdb;Persist Security Info=False"
Set rs = New ADODB.Recordset
sqlstr = "select * from mkzyy_fsk where id = " & CInt(findid)
rs.Open sqlstr, conn, 1, 1
If Not rs.EOF Then
CrystalReport1.Text2.Text = rs("zd_name")
End If
rs.Close
在给CrystalReport1.Text2.Text 赋值时
错误提示:不能给只读属性赋值
请问为什么?在线等
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货