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 -> .NET

 Convert Char to Date error with Sql Server

Print topic Send  topic

Author Message
kristiano

Posts: 6
Posted: 02/20/2009, 9:01 AM

:-D
trying to save a record in a sql server 2005 database I get following error:
translated
ERROR [22007] [Microsoft][ODBC SQL Server Driver][SQL Server]
During convert a char datatype to a datetime datatyp the range of datetime value is not valid.
Original
ERROR [22007] [Microsoft][ODBC SQL Server Driver][SQL Server]
Bei der Konvertierung eines char-Datentyps in einen datetime-Datentyp liegt der datetime-Wert außerhalb des gültigen Bereichs. ERROR [01000] [Microsoft][ODBC SQL Server Driver][SQL Server]Die Anweisung wurde beendet.

textbox dateformat dd.mm.yyyy

any idea?
View profile  Send private message
geebee

Posts: 21
Posted: 02/21/2009, 1:29 AM

Hi Kristiano,

I have seen a similar error message. To get past it, I am sure that once I set the format for the textbox, I then changed the textbox data type back to text and it worked fine.

Give it a try.
View profile  Send private message
kristiano

Posts: 6
Posted: 02/21/2009, 5:35 AM

Hi GeeBee,

that's it !
thank you
View profile  Send private message
geebee

Posts: 21
Posted: 02/21/2009, 9:04 AM

Glad you got it working.

This didn't happen in earlier versions.

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.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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