Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!
  1.   Become a Supporter    ::   Make a Contribution   
    Target (Recurring Monthly): $200 :: Achieved: $98

DSum In Report Based On Parameter Query

Discussion in 'Information Technology' started by charles.kendricks@charter.net, Jul 28, 2006.

  1. charles.kendricks@charter.net

    Guest

    I have a simple monthly accounting report which is based on a query,
    which in turn is based on a parameter query. In the report footer I am
    trying to use the DSun function to sum up the values in one field, but
    I keep getting an error. I did a little reading and found that you
    cannot use the DSun fnction in a report based on a parameter query. I
    know however that at some of you gurus out there have found a way
    around this obsticle. Please be so kind as to share the benefits of
    your knowledge and exerience with this lowly novice.
     
  2. Loading...

    Similar Threads Forum Date
    UK British Sikh Report-2016 Breaking News Mar 24, 2016
    1984 The Story I Did Not Report In ’84 History of Sikhism Jun 28, 2015
    Opinion Top Green Beret Officer Forced to Resign Over Affair With WaPo Reporter Breaking News Jun 26, 2014
    United Sikhs New Report Shows Increasing Hate Attacks on Sikhs Sikh Organisations May 21, 2014
    Legal ACLU reports: Judge orders Sikh man, "Remove that rag, or Go to Jail! Breaking News Sep 27, 2013

  3. Steve Schapel

    Steve Schapel
    Expand Collapse
    Guest

    Charles,

    The function is DSum not DSun (which as I recall was the name of a
    song). Are you sure the error you got is not the result of misspelling?

    I have never based a report on a parameter query, so I am not aware of
    other problems. I would recommend you do the same.

    In any case, do you mean to get the sum of a field that is included in
    the report? In this case, I think an unbound textbox in the Footer
    section, with its Control Source set to =Sum([NameOfYourField]) should
    do it, unless I have misunderstood.

    --
    Steve Schapel, Microsoft Access MVP


    charles.kendricks@charter.net wrote:
    > I have a simple monthly accounting report which is based on a query,
    > which in turn is based on a parameter query. In the report footer I am
    > trying to use the DSun function to sum up the values in one field, but
    > I keep getting an error. I did a little reading and found that you
    > cannot use the DSun fnction in a report based on a parameter query. I
    > know however that at some of you gurus out there have found a way
    > around this obsticle. Please be so kind as to share the benefits of
    > your knowledge and exerience with this lowly novice.
    >
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page