M
molsonexpert
Probably a simple solution to this, but here goes:
I have several forms with text boxes that are currency amounts. The default
value that the user sees is $0.00. When the user clicks on it, I want the
entire text box to be highlighted, so that they can just start typing over
the default value. I solved this by adding Forms![Income]![Amount1].SetFocus
to the On Click event. So far, so good. However, there are some controls
where this has no effect. These are on forms that are opened using a button
on the main form, and are set to pop-up and modal. Other than that, I don't
see anything special about them. Any thoughts?
thanks.
steve.
I have several forms with text boxes that are currency amounts. The default
value that the user sees is $0.00. When the user clicks on it, I want the
entire text box to be highlighted, so that they can just start typing over
the default value. I solved this by adding Forms![Income]![Amount1].SetFocus
to the On Click event. So far, so good. However, there are some controls
where this has no effect. These are on forms that are opened using a button
on the main form, and are set to pop-up and modal. Other than that, I don't
see anything special about them. Any thoughts?
thanks.
steve.