darylcollins@op2.co.uk
Apr 11th, 2000, 07:24 PM
Can anyone help using the below code on button click, if it does not find a record it will show me a blank record, how would I let the user know the search criteria was not found and then move to the first record.
<CODE?
lastposition = Trim(InputBox("Enter Company for search."))
criteria = "COMP_NAME Like '" & lastposition & "%'"
frmCompany.rsmaster.Find criteria
thank you in advance
Daryl
<CODE?
lastposition = Trim(InputBox("Enter Company for search."))
criteria = "COMP_NAME Like '" & lastposition & "%'"
frmCompany.rsmaster.Find criteria
thank you in advance
Daryl