MSHFlexGrid1绑定AdodcWith MSHFlexGrid1
即时显示新添加的数据
If i >= .Rows Then
.AddItem .Rows
.TextMatrix(.Rows - 1, 2) = Text1(0).Text
End if
End With以上没有问题 先想让MSHFlexGrid1字段2内容按****密码格式显示,改为With MSHFlexGrid1
即时显示新添加的数据
If i >= .Rows Then
.AddItem .Rows
.TextMatrix(.Rows - 1, 2) = " & String(Len(Text1(1).Text(密码),""*""))
End if
End With
但无效果,不知道那错了或该为= format(Text1(1).Text)或passwoedchar=*吗?请达人帮忙
即时显示新添加的数据
If i >= .Rows Then
.AddItem .Rows
.TextMatrix(.Rows - 1, 2) = Text1(0).Text
End if
End With以上没有问题 先想让MSHFlexGrid1字段2内容按****密码格式显示,改为With MSHFlexGrid1
即时显示新添加的数据
If i >= .Rows Then
.AddItem .Rows
.TextMatrix(.Rows - 1, 2) = " & String(Len(Text1(1).Text(密码),""*""))
End if
End With
但无效果,不知道那错了或该为= format(Text1(1).Text)或passwoedchar=*吗?请达人帮忙
将""*""改为"'*'"试一下,两个""肯定要出问题,改单引号可以解决.