G
Guest
I have a form with a number of controls, several of them are required. I've
colored (Backcolor) the required controls. The colors disappear when the
user enters the control. The color reappears if the user leaves the control
blank. This works perfectly the first time a user opens the form. If the
user closes the form and reenters, these “defaults†reappear. If they hit
the save button, which opens a new record after saving, the “defaults†do not
reappear. I'm trying to duplicate that initial state of the form when the
user hits the save button. This is an important visual reference for the
users.
I’ve tried requery (even though I know that is for data), refresh and
repaint, in various places. I cannot for the life of me think of any command
that resets the form. My last resort is to have the save button close and
reopen the form, but I know there is an easier way.
Thanks for your help.
colored (Backcolor) the required controls. The colors disappear when the
user enters the control. The color reappears if the user leaves the control
blank. This works perfectly the first time a user opens the form. If the
user closes the form and reenters, these “defaults†reappear. If they hit
the save button, which opens a new record after saving, the “defaults†do not
reappear. I'm trying to duplicate that initial state of the form when the
user hits the save button. This is an important visual reference for the
users.
I’ve tried requery (even though I know that is for data), refresh and
repaint, in various places. I cannot for the life of me think of any command
that resets the form. My last resort is to have the save button close and
reopen the form, but I know there is an easier way.
Thanks for your help.