Sendkey Question

Randix

Registered User.
Local time
Today, 20:48
Joined
Mar 24, 2001
Messages
56
I have a form with one text field and multiple memo fields. I want the memo fields to expand whenever user enters them. I've tried Sendkeys "+{F2}" and it works when user first enters. However, why when you leave the field, and then return to that same field, it doesn't work again?
 
Where have you put the code?

As I recall I think it should be in the OnGotFocus or OnEnter event-probably OnEnter thinking about it.
 
Send keys are not the best way to do this use the DoCmd.RunCommand method.
HTH
 
Rich--use the DoCmd.RunCommand in conjunction with what? Sendkeys "+{F2}"?
 

Users who are viewing this thread

Back
Top Bottom