View Issue Details

IDProjectCategoryView StatusLast Update
0000077Oberon PlatformPlatform functionalitiespublic2012-08-13 16:08
Reporterg_prajeesh Assigned Toadministrator  
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version2.6 - DB build 0065 
Target Version3.0 - DB build 0067Fixed in Version3.0 - DB build 0067 
Summary0000077: Need a function to specify Today as default value for Date Type Field
DescriptionNeed a way to specify "Today" as default value for Date Type Field
TagsNo tags attached.

Activities

administrator

2012-08-13 16:08

administrator   ~0000149

Last edited: 2012-08-13 16:09

Added new keyword for field dafault (valid only for DATE and DATETIME)

field define <FieldName> type datetime default today;
field edit <FieldName> default today ;

If the default is "today", when an new instance of Link / Object is generated, the value for the field is replaced with the current date or date-time

Added also the setDefaultAsToday() method in the Field class

Issue History

Date Modified Username Field Change
2012-08-13 04:30 g_prajeesh New Issue
2012-08-13 11:39 administrator Assigned To => administrator
2012-08-13 11:39 administrator Status new => assigned
2012-08-13 11:39 administrator Target Version => 2.7 build 0067
2012-08-13 16:08 administrator Note Added: 0000149
2012-08-13 16:08 administrator Status assigned => resolved
2012-08-13 16:08 administrator Fixed in Version => 2.7 build 0067
2012-08-13 16:08 administrator Resolution open => fixed
2012-08-13 16:09 administrator Note Edited: 0000149