Results 1 to 2 of 2

Thread: "sum" issues

Threaded View

  1. #1

    Thread Starter
    Member
    Join Date
    May 2005
    Posts
    56

    "sum" issues

    Hey all I have a question, hopefully I will be able to write this in a clear
    way.

    I have a report that is making me crazy. In one header I have it grouped by
    vendor name in the next header its grouped by date. In the date footer I have
    a sum in a text box (text20) that looks like this:

    =IIf(Sum([Dollaramt])>1000,1000,Sum([dollaramt]))

    So that way the daily sum amount cannot go over 1000 per day even though the amount of occurences may go well over 1000. I want to show a monthly total but if I put a regular sum in the Vendor footer it adds all the errors for
    the day which is well over 1000 most times and the sum goes higher then it
    should. If I use the same forumula as above then i only get 1000 per month
    which is too low. And if I try to put a text box in the Vendor footer that
    looks like:

    =Sum([text20])

    then when I run the report I get a dialog box requesting the value of
    text20. Any help is very much appreciated. Thanks!

    Hizaed
    Last edited by Hizaed; Feb 21st, 2006 at 04:24 PM.

Posting Permissions

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



Click Here to Expand Forum to Full Width