CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Updatable grid Date parameter source in custom insert

Print topic Send  topic

Author Message
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
View profile  Send private message
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
View profile  Send private message
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!
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.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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