>The data was an import from an Excel spreadsheet. The format in the Excel
>sheet was long time and all had 0 seconds, so they read "11:47:00 AM" or
>"3:25:00 PM" I actually just scrolled through them again to make sure. I
>assume it's some kind of import error then on Access' end, but I don't know
>for sure since it's only happening to some of the records and not all.
Just doublechecking: if you look at the table in design view, is this
field Date/Time? or is it Text?
>Also,
>is there a way to make Access force a format on the data? Like if say I have
>2 values "11:47:00 AM" and "11:47:05 AM". Is there a way I can make them
>both into "11:47" as short time and have "11:47" be the new value of the
>record....this way I don't have any issues of the initial data being slightly
>different? Thanks again for your help.
Again, *DON'T* confuse the field *content* with the field *format*.
You can set the Format property of a field to hh:nn, but that will not
change the contents in the least!
What you may want to do, just in case, is use an Update query
squeezing the value through a call to the Format() *function* to
discard sub-minute data: update the field to
CDate(Format([fieldname], "hh:nn am/pm"))
This will take a value of 11:47:05 and convert it to a text string
"11:47 am"; CDate() will convert this back to a Date/Time and store
the truncated value back into the table.
John W. Vinson[MVP]