Increment date fields

M

Michaela

I would like to increment date fields by 1 day every time
I tab into the field. I was able to do this in Access 97
but cannot figure it out in Access 2000. What am I
overlooking? Please help.
 
D

Dennis Schmidt

Hi Michael,

My name is Dennis Schmidt. Thank you for using the Microsoft Newsgroups.

If you use the OnEnter Event Procedure and the following code, you should
be good to go:

Me!FieldName = DateAdd("d", 1, [FieldName])

I hope this helps! If you have additional questions on this topic, please
reply to this posting.

Need quick answers to questions like these? The Microsoft Knowledge Base
provides a wealth of information that you can use to troubleshoot a problem
or answer a question! It's located at
http://support.microsoft.com/support/c.asp?M=F>.

This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2001 Microsoft Corporation. All rights
reserved.

Regards,
Dennis Schmidt
Microsoft Support
 

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