index to use it in visual basic

P

pantelis

Hi

i want some help to creat an index
to use it in visual basic to find and
display in a form all the fields of
a record in my table.

This is the code in basic if this can help:
prompt$ = 'the search field'
SearchStr$ = InputBox(prompt$, 'name of the input box')
INFIA.Recordset.Index = 'name of the index'
INFIA.Recordset.Seek "=", SeachStr$
If INFIA.Recordset.NoMatch Then
INFIA.Recordset.MoveFirst
End If


Any help it'll be appriciated.
 
Top