Auto date

O

Oscar

I have a textbox name DateIn in Form1 as well as a field
named the same in table1.
In Form1 there is another txtbox where the user has to
enter their name but I want txtbox (DateIn) to enter the
date automaticaly after you enter the name.
Is this possible?
Thank you.
 
B

Byron

Yes, if you will put the following code in the
AfterUpdate event of the textbox wher the user enters
their name:

me.DateIn = Date

This will cause the current date to be entered into your
InDate text box.

HTH

Byron
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top