vb 6.0 显示数据表的问题
数据表正常的数值是:MSFlexGrid显示1000.10003400.0000而导出来显示:1000.134(错误)我想在MSFlexGrid显示1000.100034...
数据表正常的数值是:MSFlexGrid 显示1000.1000 3400.0000
而导出来显示:1000.1 34(错误)
我想在MSFlexGrid 显示1000.1000 3400.0000
麻烦各位高手帮忙解决问题,谢谢!
Do While Not rsTmp.EOF
' .Rows = .Rows + 1
For i = 1 To rsTmp.Fields.Count
.TextMatrix(.Row, i) = rsTmp.Fields(i - 1)
Next i
rsTmp.MoveNext
.Rows = .Rows + 1
.Row = .Row + 1
Loop
MSF1.Rows = MSF1.Rows - 1
StatusBar1.SimpleText = "共找到 " & rsTmp.RecordCount & " 条记录"
End With 展开
而导出来显示:1000.1 34(错误)
我想在MSFlexGrid 显示1000.1000 3400.0000
麻烦各位高手帮忙解决问题,谢谢!
Do While Not rsTmp.EOF
' .Rows = .Rows + 1
For i = 1 To rsTmp.Fields.Count
.TextMatrix(.Row, i) = rsTmp.Fields(i - 1)
Next i
rsTmp.MoveNext
.Rows = .Rows + 1
.Row = .Row + 1
Loop
MSF1.Rows = MSF1.Rows - 1
StatusBar1.SimpleText = "共找到 " & rsTmp.RecordCount & " 条记录"
End With 展开
2个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询