PC Review


Reply
Thread Tools Rate Thread

DSum In Report Based On Parameter Query

 
 
charles.kendricks@charter.net
Guest
Posts: n/a
 
      23rd Jun 2006
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.

 
Reply With Quote
 
 
 
 
Steve Schapel
Guest
Posts: n/a
 
      23rd Jun 2006
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


(E-Mail Removed) 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.
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Report based on parameter query Amy Blankenship Microsoft Access Reports 16 23rd Jan 2008 11:31 PM
Report chart based on parameter query =?Utf-8?B?TmF6?= Microsoft Access Reports 0 11th Jul 2007 07:28 PM
Chart report based on parameter query =?Utf-8?B?bmVlcmFq?= Microsoft Access Queries 2 28th Dec 2005 01:59 PM
Report based on parameter query Kent Prokopy Microsoft Access Reports 1 10th Dec 2003 03:09 PM
Passing a Query-based Report a Query Parameter Epilepsie Montreal Metropolitain Microsoft Access Form Coding 4 16th Jul 2003 10:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:36 PM.