CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 current date into non-new record field

Print topic Send  topic

Author Message
Chris__T


Posts: 339
Posted: 07/17/2007, 11:51 AM

I'm pulling up data in an editable grid. Some field are filled in from the data, and some are blank. The date field is blank, and I'd like to set it with the current date. But putting "Currentdate" into the default value properties box doesn't work, because that only adds to a "new record". And since this is an existing record, it doesn't work. Anyone know of a way to work around this? Thanks.
View profile  Send private message
Chris__T


Posts: 339
Posted: 07/17/2007, 12:00 PM

nevermind. I got it to work. Used a hidden field to hold the current date, then through custom code put its value into the date field.
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.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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