Auto fill certain fields in a data entry form Access 2003

C

cbianco

I want to enter some data in a form, hit the enter key and have the date
filled in for the next record and the focus set to the field below the date
field.

Any suggestions on how to accomplish this?
 
P

PieterLinden via AccessMonster.com

cbianco said:
I want to enter some data in a form, hit the enter key and have the date
filled in for the next record and the focus set to the field below the date
field.

Any suggestions on how to accomplish this?

Set the default value for the control to =Date() and leave it out of the tab
order.
 
C

cbianco

Thank you, but that puts today's date which is not necessarily the date I
want to use.
 
D

Duane Hookom

You can set the default of a control in its after update event. Try something
like:

Me.txtDate.Default = "#" & Me.txtDate & "#"
 
J

Jeff Boyce

.... and the date you DO want to use is ...?

Regards

Jeff Boyce
Microsoft Office/Access MVP
 

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