Unable to save TimeOfDay

sethindeed

Well-known member
Joined
Dec 31, 1969
Messages
118
Location
Montreal Canada
I have a datetime field in an Access database.
I am unable to save the current time (Timeofday).
The time is always saved as 0:00 in the database.
I add a watch to timeofday, and it is actually containing the current time.
The problem is when I save..no error but no time saved ( all my other fields are saved correctly, including date )
Anybody heard about this one ?

thx
 
What code are you using to perform your save? Are you building up a SQL String where you do something like "Date.ToString(...)" which might be cutting off the time portion when converting to a string?

-nerseus
 
Back
Top