CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> .NET

 Convert Char to Date error with Sql Server

Print topic Send  topic

Author Message

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

trying to save a record in a sql server 2005 database I get following error:
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.
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

any idea?
View profile  Send private message

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

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

Hi GeeBee,

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

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

Internet Database

Visually create Web enabled database applications in minutes.

Home   |    Search   |    Members   |    Register   |    Login

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