Automatically copy user's data from 1 text box to another on same

J

JudyB

I was unable to find similar problem in threads. I have a form with a text
box for the user to enter a date. Once the user enters a date, I would like
for it to automatically copy into and override the existing date in another
text box on the same form. Is this possible? Any help is appreciated.
 
I

Ivan Grozney

Judy,

Put in the AFTERUPDATE event of TXTDATE1
me.txtdate2 = me.txtdate1

Should take care of what you need to do, if I understand your question...

hth

Vanya
 
M

Marshall Barton

JudyB said:
I was unable to find similar problem in threads. I have a form with a text
box for the user to enter a date. Once the user enters a date, I would like
for it to automatically copy into and override the existing date in another
text box on the same form. Is this possible?


Just use a line of code in the first text box's AfterUpdate
event procedure:

Me.textbox2 = Me.textbox1
 
Top