A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

remove 0 lines from a report



 
 
Thread Tools Display Modes
  #1  
Old October 30th, 2007, 11:08 PM posted to microsoft.public.access.reports
Tamm Fox
external usenet poster
 
Posts: 8
Default remove 0 lines from a report

I have a query with 7 columns. two of these columns have calculations within
them.

"Budget_2: -Abs([Budget])" to get all values negative as these are income
values.

"Diff $: [budget_2]-[actual]" to see if we are over/under budget.

Now I want to remove all lines that equal 0.

I have tried to use the 0 in the criteria row in the query but creates a
circular reference.

So I need to be able to remove these lines from the report.

Thanks
  #2  
Old October 31st, 2007, 05:03 AM posted to microsoft.public.access.reports
Duane Hookom
external usenet poster
 
Posts: 7,177
Default remove 0 lines from a report

Can you provide the SQL of your report's record source? You might only need
to remove an "alias" column from other calculations like:
DiffDollars: -Abs([Budget])-[actual]
--
Duane Hookom
Microsoft Access MVP


"Tamm Fox" wrote:

I have a query with 7 columns. two of these columns have calculations within
them.

"Budget_2: -Abs([Budget])" to get all values negative as these are income
values.

"Diff $: [budget_2]-[actual]" to see if we are over/under budget.

Now I want to remove all lines that equal 0.

I have tried to use the 0 in the criteria row in the query but creates a
circular reference.

So I need to be able to remove these lines from the report.

Thanks

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 03:48 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.