i need to find a specific "brandname" of a "vehicletype" if it is exist before I add a new brand,
its my first time to use ".find" function with "where" i dont know if this is right
with rsbrands
.Find "BrandName='" & Text5.Text & "'" where VehicleType='" & Combo4.Text & "'", 0, adSearchForward, adBookmarkFirst
If (.EOF = False) Then
MsgBox "That Brand already exist!", vbInformation, " "
else
'add code
end if
end with
check my code please.
thank you

New Topic/Question
Reply



MultiQuote




|