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 -> PHP

 modify search parameter

Print topic Send  topic

Author Message
wongsa

Posts: 9
Posted: 08/21/2007, 6:06 PM

Hi,

I had s_start_date,s_end_date data type date on serach form. I need to modify s_end_date = s_end_date+1 before send parameter to grid.How I do this case?

Thank in advance,
View profile  Send private message
datadoit.com
Posted: 08/22/2007, 5:10 AM

wongsa wrote:
> Hi,
>
> I had s_start_date,s_end_date data type date on serach form. I need to modify
> s_end_date = s_end_date+1 before send parameter to grid.How I do this case?
>
> Thank in advance,
>
> ---------------------------------------

Perhaps modify the value in OnValidate for the field.

$Component->SetValue(CCDateAdd($Component->GetValue(),+1 day));
ReneS

Posts: 225
Posted: 08/22/2007, 5:42 AM

Hi,

you could also do that in your sql statement of the result grid. (I think..)

Rene
View profile  Send private message
wongsa

Posts: 9
Posted: 08/22/2007, 8:59 AM

Hi datadoit.com

s_to_date is date picker ,I try on validate but not success please advise again.

View profile  Send private message
wongsa

Posts: 9
Posted: 08/22/2007, 9:11 AM

Hi RenS,

I put CCDateAdd(s_to_date, +1 day) in grid Parameter.It's work great !

Thanks for idea Rens &datadoit.com
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.