hi there..
i supossed that data1 is a datacontrol.. so you are trying it to look for something.. but you are moving the recordset inside them before you even give it a recordset..
Code:
Private Sub Command1_Click()
Dim strsearchfor As String, intfound As Integer
strsearchfor = UCase(Text1.Text)
Data1.DatabaseName = "e:\shopkeeper\shopkeeper.mdb"
Data1.Recordset.MoveFirst
intfound = 0
try to trace your code and you will see that the highlighted error line is that (well, i think so... if not please tell us where is the error)
HTH
Gonzalo