Link to home
Create AccountLog in
Microsoft Access

Microsoft Access

--

Questions

--

Followers

Top Experts

Avatar of davewalter1
davewalter1

MS Access Query Group By Hour
I'm running a query that needs some format help. I want to group records by hour, but I only know how to group minute-by-minute. Here's the relevant SQL:

GROUP BY Format([DateRequest],"mm/dd/yyyy"), Format([DateRequest],"Medium Time")

Can you help me with the formatting that would group records by hour?

Thanks!

Zero AI Policy

We believe in human intelligence. Our moderation policy strictly prohibits the use of LLM content in our Q&A threads.


ASKER CERTIFIED SOLUTION
Avatar of Gustav BrockGustav Brock🇩🇰

Link to home
membership
Log in or create a free account to see answer.
Signing up is free and takes 30 seconds. No credit card required.
Create Account

Avatar of davewalter1davewalter1

ASKER

Perfect! Exactly what I needed. Thanks!

Avatar of Gustav BrockGustav Brock🇩🇰

You are welcome!

/gustav

Reward 1Reward 2Reward 3Reward 4Reward 5Reward 6

EARN REWARDS FOR ASKING, ANSWERING, AND MORE.

Earn free swag for participating on the platform.

Microsoft Access

Microsoft Access

--

Questions

--

Followers

Top Experts

Microsoft Access is a rapid application development (RAD) relational database tool. Access can be used for both desktop and web-based applications, and uses VBA (Visual Basic for Applications) as its coding language.