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 -> General/Other

 Setting Date Default to current Date + 1

Print topic Send  topic

Author Message
DaveM

Posts: 11
Posted: 09/20/2007, 7:15 AM

Can any body help,
I need to set a default to the date field of "Current Date + 1 Day."
I know how to set it to the current date but i need to add 1 to this so when the form loads it shows the current date + 1 in the field, this could then be altered by the user .

Many thanks
Dave
View profile  Send private message
Oper


Posts: 1195
Posted: 09/20/2007, 6:15 PM

Depend what you are using, but you could use Before show

on before show


Sender.value=Date() + 1
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)

http://www.PremiumWebTemplate.com
Affiliation Web Site Templates

Please do backup first
View profile  Send private message
DaveM

Posts: 11
Posted: 09/21/2007, 2:35 AM

Many Thanks Oper

It worked a treat.

Cheers
DaveM
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.

PHP Reports

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

Home   |    Search   |    Members   |    Register   |    Login


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