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

 Auto-Update Date Field

Print topic Send  topic

Author Message
astat

Posts: 5
Posted: 03/12/2006, 10:17 AM

Hi
somebody can explain to me how make an auto-update date field in CCS3?

Thanks
View profile  Send private message
mhope

Posts: 37
Posted: 03/12/2006, 1:51 PM

Just set the default value to "CurrentDate" this will fill the field auto
View profile  Send private message
astat

Posts: 5
Posted: 03/12/2006, 9:40 PM

Quote mhope:
Just set the default value to "CurrentDate" this will fill the field auto

The field has already a date and when I make the update take the date fromdatabase but don't update it, with CCS2 I insert a custom code

before update

now doesn't work

View profile  Send private message
bedollandres

Posts: 48
Posted: 03/13/2006, 10:10 AM

add a hidden field for the modified date
add a before show event for that field:
 form.field.Value = Now() 

_________________
bedollandres
View profile  Send private message
astat

Posts: 5
Posted: 03/14/2006, 12:15 AM

Many thanks problem resolved. The error is caused by MySQL setting date, now work fine.
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.