CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> ASP

 Error when updating date fields

Print topic Send  topic

Author Message
mfauzi

Posts: 14
Posted: 08/07/2008, 4:36 AM

XP, Sql express, asp
I have a edit form. The record selected is from grid.
When I want to update the form, I got the following error:

[Microsoft][ODBC SQL Server Driver][SQL Server]The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value. (Microsoft OLE DB Provider for ODBC Drivers


Appreciate on any guide on how to update the date field
View profile  Send private message
Benjamin Krajmalnik
Posted: 08/23/2008, 6:01 PM

You need to make sure that the localization of the SQL server and that of
your CodeCharge app is the same.
If the dates are being passed d-m-y and the server expects m-d-y at some
point you will get this error.
"mfauzi" <mfauzi@forum.codecharge> wrote in message
news:6489ade3e844fb@news.codecharge.com...
> XP, Sql express, asp
> I have a edit form. The record selected is from grid.
> When I want to update the form, I got the following error:
>
> [Microsoft][ODBC SQL Server Driver][SQL Server]The conversion of a char
> data
> type to a datetime data type resulted in an out-of-range datetime value.
> (Microsoft OLE DB Provider for ODBC Drivers
>
>
> Appreciate on any guide on how to update the date field
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.yessoftware.com/
>


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.