i get an error everytime i insert date data in my vb component and sql server bakend. an example is shown below
Sql = "insert into trans"
Sql = Sql & " values("
...
Sql = Sql & "'" & date() & "'" & ""
...
cn.execute sql
error message: error conversion char... to datatime data type.
where my date field is datatime data type.
Sql = "insert into trans"
Sql = Sql & " values("
...
Sql = Sql & "'" & date() & "'" & ""
...
cn.execute sql
error message: error conversion char... to datatime data type.
where my date field is datatime data type.