storing value from acCmdFind

Rainbowhawk

Registered User.
Local time
Today, 16:58
Joined
Oct 8, 2007
Messages
54
Hi Guys

Does anyone know if it is possiable to caputre and store what a user inputs into a search box.

I have a button that focuses on a field and then opens the search dialog, but I could do with being able to capture the information they are looking for.

Code:
    Me.fieldname.SetFocus
    SendKeys "%ha%n", False
    DoCmd.RunCommand acCmdFind

Thanks

Hawk
 
I wouldn't rely on the system search like that. Create your own form and do it (and get rid of the send keys as it will not work in certain circumstances).
 

Users who are viewing this thread

Back
Top Bottom