Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I have an access database that has

Status
Not open for further replies.

ronwmon

Programmer
Jul 13, 2007
97
US
I have an access database that has a from with a textbox (text2) that contains a date in the format yyyy-mm-dd.

I need to add one month to this date and include it on a report. I have tried the following:

=DateAdd("m",1,[Forms]![Prep]![Text2])

This dons not work. When I look st Report View the date is #Name?

Any assistance is appreciated.

Ron--
 
Your form is named Prep, and it is open when you run the report? Also, is your text box text2 formatted as a short date or some other date, not general text?

There Are 10 Types Of People In The world:
Those That Understand BINARY And Those That DonÆt.

 
Thank you. I didn't have the form opened when I ran the report. I made a couple of changes based on your questions and now it works.

Ron--
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top