Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 2007
    Posts
    348

    Unanswered: calculating Sums in rows Vs Columns

    In Access specifically, if I needed to get sums for periods, say months, should I do it in columns or rows?
    example
    SalesTable
    SaleID, Amount, Date

    Write a table showing sales per month
    Date, SumofAmount
    then use another table to group the dates into months or a piece of code to group it

    or

    SumJan, SumFeb......
    writing each column with a little chunk of code

    Thanks.

  2. #2
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    in rows
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •