sTable = "FWCATNS_STEPNAME"
sCol = "CNAME,ENAME"
sSql = "SELECT " & sCol & " FROM " & sTable
Set colRaw = moProRawSql.QueryDatabase(sSql) If colRaw Is Nothing Then
modError.RaiseError glERR_ERRMSG, _
FormatErrorText(gsETX_ERRMSG, _
sSql & " ---Execute is fail !" & _
vbCrLf)
GoTo ExitHandler
Else
For Each vDataItem In colRaw
With spdTesterMatrix
Row = .MaxRows+ 1
.Col = miOption
.Text = vDataItem.Item("ENAME")
.Col = miValue
.Text = vDataItem.Item("CNAME")
.Col = -1
'.Row = -1
End With
Next vDataItem
End If
调试的时候 数据都过关 但是在 显示的时候 只显示最后 一条数据 为什么?高手 帮个忙 在线等待···
sCol = "CNAME,ENAME"
sSql = "SELECT " & sCol & " FROM " & sTable
Set colRaw = moProRawSql.QueryDatabase(sSql) If colRaw Is Nothing Then
modError.RaiseError glERR_ERRMSG, _
FormatErrorText(gsETX_ERRMSG, _
sSql & " ---Execute is fail !" & _
vbCrLf)
GoTo ExitHandler
Else
For Each vDataItem In colRaw
With spdTesterMatrix
Row = .MaxRows+ 1
.Col = miOption
.Text = vDataItem.Item("ENAME")
.Col = miValue
.Text = vDataItem.Item("CNAME")
.Col = -1
'.Row = -1
End With
Next vDataItem
End If
调试的时候 数据都过关 但是在 显示的时候 只显示最后 一条数据 为什么?高手 帮个忙 在线等待···
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货