- Messages
- 261
- Reaction score
- 0
- Points
- 26
eto nlng question q ,
pwede ba lagyan ng error gamit yung msgbox yung find?
example adodc1.recordset.find "blah blah
tapos pag walang na search then
msgbox "nothing to find"
yung ganon baga, panu kya yan?
Pwd yan. Record count ang gamitin mo.
Code:
If Data.Recordset.RecordCount = 0 Then
Msgbox("Nothing to Find")
Exit Sub
Else
'Dito ang result
End If