求大神,为什么随机存取的文件无法用if进行判断?
Open App.Path & "\data.txt" For Random As #1 Len = Len(per)m = LOF(1) \ Len(per)
For i = 1 To m
Get #1, i, per
If per.name = Text1.Text Then
Text2.Text = per.num
exit for
End If
Next i
Close #1
2016-03-25 17:51
2016-03-25 20:54
2016-03-26 20:42

2016-03-27 21:45
2016-03-28 11:54
2016-03-29 20:40
2016-03-29 20:43
2016-03-29 21:06
2016-03-29 21:44