The "very" basic code to run that would be something like (to find one record)
Dim rs As Object
Set rs = Me.Recordset.Clone
rs.FindFirst "[SomeIDNumber] = " & Str(Me![YourFormFieldName])
Me.Bookmark = rs.Bookmark
To find a number of records you would need to fillter the base data (this
could be done from the form). Something like this
SELECT TableName.FieldName
FROM TableName
GROUP BY TableName.FieldName 'Not req if not needed'
HAVING (((TableName.FieldName)=[Forms]![FormName].[Form]![ControlName]))
ORDER BY TableName.FieldName; 'Not req if not needed'
You would need to work this into your website code but ther access bit is
quite simple
--
Wayne
Manchester, England.
Anthony said:
I have an access database and I was wondering how I can add a search box
using frontpage to my website and then if they enter an item number is the
searchbox it will search my database and then list the results. If you could
please help.
Thanks, Anthony