Time Field import Issue



I have a date/time field in an Excel spreadsheet that has data such as:

245:11:21 (hhh:nn:ss format)

I am importing this spreadsheet into a holder table in Access with
datatype set to Text. I then run an append query to append to the real
table with a data type of Date/Time format hhh:nn:ss. Some values
import, others are just blanked out. How do I get these imported??


Van T. Dinh

DateTime Fields in JET / Access are meant for points in date/time and NOT
for duration. Thus the time component of a DateTime value is restricted to

While Access will perform type-casting to datetime correctly for values
equal or less than 23:59:59, it will reject values in text where the hours
component is 24 or greater ...

If you are using this as duration, it may be better to store the value as
multiple of the smallest time unit you require, e.g. 86400 seconds (duration
of exactly 1 day).

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question