Randix
06-27-2001, 04:02 PM
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?
Fornatian
06-27-2001, 10:44 PM
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
Randix
06-28-2001, 06:40 AM
Rich--use the DoCmd.RunCommand in conjunction with what? Sendkeys "+{F2}"?