Query - Search Engine

icemac

Registered User.
Local time
Today, 14:58
Joined
Jul 17, 2006
Messages
31
I would like to create a query where I can search my selected fields on a particular field. However I do not want to do this in the standard way. I would like the query to appear in a 'search engine' type format (like a form but with a search). Is this possible????
 
Ye like this. I tried the code you used when looking at the deign view on query but this did not work when i was using fields from two different tables. Can you help?
 
This is a really nice little form. I was wondering if someone could explain to me why when you click on the search results it yields a message box thats says "Could not locate [Date]", where date is the date of the row clicked on. The relevance of this is that when I tryed utilizing a similar setup in my DB I dont get a messagebox like that but a syntax error instead which tellings me Im not fully understanding what's going on and I was hoping someone could shed some light on it for me.

Private Sub QuickSearch_AfterUpdate()

DoCmd.Requery
Me.RecordsetClone.FindFirst "[Number] = " & Me![QuickSearch]
If Not Me.RecordsetClone.NoMatch Then
Me.Bookmark = Me.RecordsetClone.Bookmark
Else
MsgBox "Could not locate [" & Me![QuickSearch] & "]"
End If

End Sub
 

Users who are viewing this thread

Back
Top Bottom