Gossamer Forum
Home : Products : DBMan SQL : Discussion :

Re: [orthonet] Insert Date in Custom Form

Quote Reply
Re: [orthonet] Insert Date in Custom Form In reply to
Hi,

I created a hidden, not-null date column without a default value:
Code:
'creation_date' => {
'file_max_size' => '',
'file_save_in' => '',
'file_save_scheme' => 'HASHED',
'file_save_url' => '',
'form_display' => '',
'form_size' => '',
'form_type' => 'HIDDEN',
'not_null' => '1',
'pos' => '6',
'regex' => '',
'type' => 'DATE'
},
For some reason, the creation date is set to the current date each time a record is created (without doing anything in the templates). I have no idea why this works (I use DBMan SQL 2.1.0 and Postgres), but it does. Laugh

Jasper

http://www.bookings.org
Subject Author Views Date
Thread Insert Date in Custom Form orthonet 4472 Dec 26, 2002, 11:16 AM
Post Re: [orthonet] Insert Date in Custom Form
jaspercram 4360 Dec 27, 2002, 5:25 AM
Thread Re: [orthonet] Insert Date in Custom Form
604 4358 Dec 27, 2002, 10:16 AM
Post Re: [TheStone] Insert Date in Custom Form
orthonet 4353 Dec 27, 2002, 10:45 AM