i am trying to search a database using seek
this is the code i am using
Private Sub cmdfist_Click()
prompt$ = "Enter The Row Where You Would Like To Sit."
SearchStr$ = InputBox(prompt$, "Row Search")
datgrand.Recordset.Index = "Row Number"
datgrand.Recordset.Seek "=", SearchStr$
Prompt2 = "Enter The SDeat That You Would Like To Sit In"
searchstr2 = InputBox(Prompt2, "Seat Search")
datgrand.Recordset.Index = "Seat Number"
datgrand.Recordset.seek "=", searchstr2
If datgrand.Recordset.NoMatch Then
datgrand.Recordset.MoveFirst
End If
End Sub
my problem
i want to be able to enter a row number and then a
seat number and the text boxes so the results. the main reason this code is not working is that it is searching the database for the rows e.g row T finding that then seating for the seat number e.g 32 but it is showing the first seat
with the number 32 it comes to whihc is seat 32 but row A i want to be able to enter T 32 and the search displays T 32
thanx in advance
VB
