CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 Can not pass date field

Print topic Send  topic

Author Message
JRC
Posted: 11/24/2004, 6:40 AM

global $cast_production;
global $Redirect;

$Redirect=$Redirect. "machine_number=".urlencode($cast_production->machine_number->GetValue())."&date_entered=".urlencode($cast_production->date_entered->GetValue());

Using the above code I cannot get the date to pass here is the url that I am getting returned

http://pcl.orlick.on.ca/cast_produ_maint.php?machine_nu...3&date_entered=

Does anyone else have problems with date fields? I have had TERRIBLE experience with them in other instances.
klwillis


Posts: 428
Posted: 11/24/2004, 9:18 AM

What value are you using for the data type for 'date_entered' ?

Be sure to set it to date, and choose a data format.

That may be your problem.

_________________
Kevin Willis, VP/CIO
HealthCare Information Technology Specialist
http://www.nexushealthcare.com
"Fast - Convenient - Quality-Care"

Medical Software Consulting Services
Email : klwillis@nexushealthcare.com
Skype : klwillis2006
View profile  Send private message
JRC
Posted: 11/24/2004, 11:01 AM

I have it working now thanx, I found out by echoing the varible it was an array?
Why is the date an array. Anyhow I used the builtin function ccformatdate and it seems to work.

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.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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