我根据视频学习使用菜单文本框,输入代码后显示:
.NET Framework 版本:4.0.30319.42000
Foxtable 版本:2021.5.29.1
错误所在事件:菜单,sure,Click
详细错误信息:
无法在 System.Double 和 System.String 上执行“=”操作。
Dim strf As RibbonMenu.TextBox = RibbonTabs("查询").Groups("查询").Items("finder").Items("Ttofind")
Dim Val As String = strf.Text
With CurrentTable
Dim dr As String = .Cols(.Colsel).Name
Dim Index As Integer = .FindRow( dr & " = '" & Val & " '", .Position + 1,True)
If Index >= 0 Then
.Position = Index
End If
End With
求帮助,谢谢