CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 Add days onto current date automatically

Print topic Send  topic

Author Message
grivers

Posts: 28
Posted: 07/07/2007, 7:27 AM

Hi anyone know how to add 30 days onto the the current date so that it can be stored in a textbox field automatically?

View profile  Send private message
Edd


Posts: 547
Posted: 07/12/2007, 1:33 AM

in default value of the form for the datefield put DateAdd("dd",30,Date())

Cheers - Edd
_________________
Accepting and instigating change are life's challenges.

http://www.syntech.com.au
View profile  Send private message
grivers

Posts: 28
Posted: 07/12/2007, 1:47 AM

Thanks.

I also found that if I had a current date field I could add a before show event code which added 30 days onto the current date.
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.