headhunter
Posts: 130
|
Posted: 06/14/2004, 3:50 PM |
|
Anyone knows how I should configure the "custom insert parameter" for the custom insert event of an editable grid?
I wan to insert a "date" into the db (datetime of submission)
I tried with "expression" and setting the parameter source to "Date('d-m-Y H:i:s')" and defined the Format, but there is nothing inserted in my db for that field (tried various methods).
Thanx in advance
|
|
|
peterr
Posts: 5971
|
Posted: 06/15/2004, 9:22 AM |
|
You mentioned "custom insert event" but you probably mean the Custom Insert dialog/window?
If so, try setting up you Custom Insert Parameter as follows:
Field Type: Date
Field Format: yyyy-mm-dd HH:nn:ss
Parameter Source Name: Date('d-m-Y H:i:s')
Parameter Source Type: Expression
Parameter Source Format: dd-mm-yyyy H:nn:ss
(do not use quotes)
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com |
|
|
headhunter
Posts: 130
|
Posted: 06/15/2004, 10:41 AM |
|
Thanx peterr!
It works now. I don't know why it didn't work before as I tried this already. Must be a typo or something.
I realy appreciate you and Yes Software for helping so much on this forum!
Keep on doing the good things!
|
|
|
|