Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
agniwoni
Starting Member
28 Posts |
Posted - 2007-07-24 : 05:42:42
|
| I use VBA for Access to access data from SQL SRV 2k.Visual Basic statement that fails is:Sql = "Select * from " & ReportNamers.Open Sql, cnRs declaration, and all other neccessary stuff are ok.When i use the same string (Sql) in query analiser it works wellFor row source I use view, defined as a combination of 2 other views, where I use some sums/cases/stuff. And the error:"-2147217913 the conversion of data type char to datetime produced a value datetime out of interval"Why, for the love of God, it happened to me? |
|
|
agniwoni
Starting Member
28 Posts |
Posted - 2007-07-24 : 05:46:03
|
| I've read that it might be a collation problem, or the date format.But... other views works well for this procedure. Even when they contain date fields.Thanks for any help.If more info needed please give me a signal. |
 |
|
|
|
|
|