N
Nathan
I'm having trouble storing the value of Now in an Access table. I'm using
VB.NET 2002. I need to store a time value, but no matter what I do I end up
getting just a date value in Access. I'm doing something like this:
Dim NewRow as DataRow = MyTable.NewRow
NewRow("InTime") = Now
MyTable.Rows.Add(NewRow)
DataAdaptor.Update(MyTable)
The value of CDate(NewRow("InTime")) is correct until I refresh the dataset
with data from the database. All I get is the correct date and a time of
12:00:00. I've tried using every possible format of Date/Time in Access,
including my own custom format.
Thanks for the help
VB.NET 2002. I need to store a time value, but no matter what I do I end up
getting just a date value in Access. I'm doing something like this:
Dim NewRow as DataRow = MyTable.NewRow
NewRow("InTime") = Now
MyTable.Rows.Add(NewRow)
DataAdaptor.Update(MyTable)
The value of CDate(NewRow("InTime")) is correct until I refresh the dataset
with data from the database. All I get is the correct date and a time of
12:00:00. I've tried using every possible format of Date/Time in Access,
including my own custom format.
Thanks for the help