storing value from acCmdFind (1 Viewer)

Rainbowhawk

Registered User.
Local time
Today, 18:09
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
 

boblarson

Smeghead
Local time
Today, 10:09
Joined
Jan 12, 2001
Messages
32,059
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

Top Bottom