INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Report date field and sort it by year/Month/Week (Oldest to Newest)

Report date field and sort it by year/Month/Week (Oldest to Newest)

(OP)
Hello,

I'm trying to create a report based on a query

I'm looking for a formula that will take my Report date field and sort it by year (Oldest to Newest)
I would also like to put this date in a Colum header for each row year (Oldest to Newest)

I would like to continue breaking down the query/Report to take Report date field and sort it by month (Oldest to Newest)
again I would also like to put this date in a Colum header for each row year (Oldest to Newest)

Is there a formula that will do this in the query and if need be the report


Please see the attached report for an example

I'm also looking for a way I can take this report sort (Oldest to Newest) and on a form allow me to enter an amount (example) 500,000 from older Report Amount and export all those account that add up to 500,000

Thank – TCB

TCB

RE: Report date field and sort it by year/Month/Week (Oldest to Newest)

How far did you get? What version of Access?
All versions have a decent interface for choosing fields to sort/group. If you select a date field, you have the ability to select the date interval like Year, Month, Quarter,... Everything you need is there.

To get the values that add up to a specific number, you could use a running sum sub query in your query. I expect you could also set the running sum on a text box in the report and then cancel the printing of the report section when you reach a specific value.

Duane
Hook'D on Access
MS Access MVP

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close