ORDER BY [Time] field not working right

D

Denny W. Jones

Hello,

I've got a table with a date/time field in it. When I try tell Access to
sort on that field it doesn't sort correctly.

Example:
EventDesc EventDate EventStartTime
Families worship together until the children are dismissed for
Children's Church (ages 4-6th grade) 5/2/2004 8:30
Families worship tegether until the children are dismissed for
Children's Church (ages 4-6th grade) 5/2/2004 11:00
Meet at the Weeks Park Pavilion-SW Prky
Childcare will be provided at the church from 5:30-8:30 PM. 5/2/2004
18:00
Meets at "the edge" (shuttle provided) 5/2/2004 10:00


Why does it sort this way? "10:00" obviously comes before "18:00".

Any clues?

Thanks,
Denny
 
D

Duane Hookom

Are you attempting to sort in the report's sorting and grouping dialog? If
so, what is the expression?
 
D

Denny W. Jones

Are you attempting to sort in the report's sorting and grouping dialog? If
so, what is the expression?

No - I'm attempting to sort the data in the query window.
 
D

Duane Hookom

Don't sort your query. Use the sorting and grouping dialog in the report
design.
 

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

Similar Threads

What formula should be used 3
Access Access - Elapsed Time between Records 5
Calculate age category from birthdate 4
Sequence number 9
Filtering failed moving on...HELP 2
time task 1
Order Query By TIME HELP? 4
field order 1

Top