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  

Exclude records by calculated field



 
 
Thread Tools Display Modes
  #1  
Old July 25th, 2007, 03:36 PM posted to microsoft.public.access.reports
Smiffy
external usenet poster
 
Posts: 8
Default Exclude records by calculated field

Hi I'm using the demo ordering system and have copied the invoice report and
have got it to run for all records. But now i want to exclude records that do
not have an outstanding amount. eg Total Due 0 As this is a calculated
field within the report i dont seem to be able to use it in the query and the
filter doesn't seem to work but i am a newbie. Please advise
  #2  
Old July 25th, 2007, 05:22 PM posted to microsoft.public.access.reports
Duane Hookom
external usenet poster
 
Posts: 7,177
Default Exclude records by calculated field

You should be able to create a totals query grouped by Invoice that
calculates the total. Add this query to your report's record source so you
can use the calculated total for filtering.
--
Duane Hookom
Microsoft Access MVP


"Smiffy" wrote:

Hi I'm using the demo ordering system and have copied the invoice report and
have got it to run for all records. But now i want to exclude records that do
not have an outstanding amount. eg Total Due 0 As this is a calculated
field within the report i dont seem to be able to use it in the query and the
filter doesn't seem to work but i am a newbie. Please advise

  #3  
Old July 25th, 2007, 05:36 PM posted to microsoft.public.access.reports
Smiffy
external usenet poster
 
Posts: 8
Default Exclude records by calculated field

Hi Duane, The report already has the fields calculated 'Total Due' but i
can't seem to set up a filter, i've tried following several examples but
getting no where.



"Duane Hookom" wrote:

You should be able to create a totals query grouped by Invoice that
calculates the total. Add this query to your report's record source so you
can use the calculated total for filtering.
--
Duane Hookom
Microsoft Access MVP


"Smiffy" wrote:

Hi I'm using the demo ordering system and have copied the invoice report and
have got it to run for all records. But now i want to exclude records that do
not have an outstanding amount. eg Total Due 0 As this is a calculated
field within the report i dont seem to be able to use it in the query and the
filter doesn't seem to work but i am a newbie. Please advise

  #4  
Old July 25th, 2007, 06:06 PM posted to microsoft.public.access.reports
Duane Hookom
external usenet poster
 
Posts: 7,177
Default Exclude records by calculated field

When you look at the "field list" in the report design, do you see a field
named "Total Due"?

If "Total Due" In (Field List) Then
Use it
report back results or issues
Else
GoTo my previous reply
End If
--
Duane Hookom
Microsoft Access MVP


"Smiffy" wrote:

Hi Duane, The report already has the fields calculated 'Total Due' but i
can't seem to set up a filter, i've tried following several examples but
getting no where.



"Duane Hookom" wrote:

You should be able to create a totals query grouped by Invoice that
calculates the total. Add this query to your report's record source so you
can use the calculated total for filtering.
--
Duane Hookom
Microsoft Access MVP


"Smiffy" wrote:

Hi I'm using the demo ordering system and have copied the invoice report and
have got it to run for all records. But now i want to exclude records that do
not have an outstanding amount. eg Total Due 0 As this is a calculated
field within the report i dont seem to be able to use it in the query and the
filter doesn't seem to work but i am a newbie. Please advise

  #5  
Old July 26th, 2007, 05:26 PM posted to microsoft.public.access.reports
Smiffy
external usenet poster
 
Posts: 8
Default Exclude records by calculated field

No it isn't in the fields list it is a calculated field that only has a value
in it once all the records for that customer have been listed and totaled eg.

Cust 1
purchase 1 amount 1
purchase 1 amount 1
etc.
Total Due - (calculated from items above)

if this Total Due is zero i don't want to print the page



"Duane Hookom" wrote:

When you look at the "field list" in the report design, do you see a field
named "Total Due"?

If "Total Due" In (Field List) Then
Use it
report back results or issues
Else
GoTo my previous reply
End If
--
Duane Hookom
Microsoft Access MVP


"Smiffy" wrote:

Hi Duane, The report already has the fields calculated 'Total Due' but i
can't seem to set up a filter, i've tried following several examples but
getting no where.



"Duane Hookom" wrote:

You should be able to create a totals query grouped by Invoice that
calculates the total. Add this query to your report's record source so you
can use the calculated total for filtering.
--
Duane Hookom
Microsoft Access MVP


"Smiffy" wrote:

Hi I'm using the demo ordering system and have copied the invoice report and
have got it to run for all records. But now i want to exclude records that do
not have an outstanding amount. eg Total Due 0 As this is a calculated
field within the report i dont seem to be able to use it in the query and the
filter doesn't seem to work but i am a newbie. Please advise

  #6  
Old July 26th, 2007, 08:20 PM posted to microsoft.public.access.reports
Duane Hookom
external usenet poster
 
Posts: 7,177
Default Exclude records by calculated field

Did you understand or even try my suggestion?

--
Duane Hookom
Microsoft Access MVP


"Smiffy" wrote:

No it isn't in the fields list it is a calculated field that only has a value
in it once all the records for that customer have been listed and totaled eg.

Cust 1
purchase 1 amount 1
purchase 1 amount 1
etc.
Total Due - (calculated from items above)

if this Total Due is zero i don't want to print the page



"Duane Hookom" wrote:

When you look at the "field list" in the report design, do you see a field
named "Total Due"?

If "Total Due" In (Field List) Then
Use it
report back results or issues
Else
GoTo my previous reply
End If
--
Duane Hookom
Microsoft Access MVP


"Smiffy" wrote:

Hi Duane, The report already has the fields calculated 'Total Due' but i
can't seem to set up a filter, i've tried following several examples but
getting no where.



"Duane Hookom" wrote:

You should be able to create a totals query grouped by Invoice that
calculates the total. Add this query to your report's record source so you
can use the calculated total for filtering.
--
Duane Hookom
Microsoft Access MVP


"Smiffy" wrote:

Hi I'm using the demo ordering system and have copied the invoice report and
have got it to run for all records. But now i want to exclude records that do
not have an outstanding amount. eg Total Due 0 As this is a calculated
field within the report i dont seem to be able to use it in the query and the
filter doesn't seem to work but i am a newbie. Please advise

  #7  
Old July 27th, 2007, 04:30 PM posted to microsoft.public.access.reports
Smiffy
external usenet poster
 
Posts: 8
Default Exclude records by calculated field

Hi Duane sorry for being such a newbie and yes i did try your suggestion and
it is not in the field list and yes i probably don't understand.

The field does not exist or have any value in it untill the page is complete
and the calculations have been done. How can i test such a field?


"Duane Hookom" wrote:

Did you understand or even try my suggestion?

--
Duane Hookom
Microsoft Access MVP


"Smiffy" wrote:

No it isn't in the fields list it is a calculated field that only has a value
in it once all the records for that customer have been listed and totaled eg.

Cust 1
purchase 1 amount 1
purchase 1 amount 1
etc.
Total Due - (calculated from items above)

if this Total Due is zero i don't want to print the page



"Duane Hookom" wrote:

When you look at the "field list" in the report design, do you see a field
named "Total Due"?

If "Total Due" In (Field List) Then
Use it
report back results or issues
Else
GoTo my previous reply
End If
--
Duane Hookom
Microsoft Access MVP


"Smiffy" wrote:

Hi Duane, The report already has the fields calculated 'Total Due' but i
can't seem to set up a filter, i've tried following several examples but
getting no where.



"Duane Hookom" wrote:

You should be able to create a totals query grouped by Invoice that
calculates the total. Add this query to your report's record source so you
can use the calculated total for filtering.
--
Duane Hookom
Microsoft Access MVP


"Smiffy" wrote:

Hi I'm using the demo ordering system and have copied the invoice report and
have got it to run for all records. But now i want to exclude records that do
not have an outstanding amount. eg Total Due 0 As this is a calculated
field within the report i dont seem to be able to use it in the query and the
filter doesn't seem to work but i am a newbie. Please advise

  #8  
Old July 27th, 2007, 04:50 PM posted to microsoft.public.access.reports
Duane Hookom
external usenet poster
 
Posts: 7,177
Default Exclude records by calculated field

My suggestion:
You should be able to create a totals query grouped by Invoice that
calculates the total. Add this query to your report's record source so you
can use the calculated total for filtering.


Can you create a totals query? It should be similar to your report's record
source only group by the field where your current calculated value resides.

--
Duane Hookom
Microsoft Access MVP


"Smiffy" wrote:

Hi Duane sorry for being such a newbie and yes i did try your suggestion and
it is not in the field list and yes i probably don't understand.

The field does not exist or have any value in it untill the page is complete
and the calculations have been done. How can i test such a field?


"Duane Hookom" wrote:

Did you understand or even try my suggestion?

--
Duane Hookom
Microsoft Access MVP


"Smiffy" wrote:

No it isn't in the fields list it is a calculated field that only has a value
in it once all the records for that customer have been listed and totaled eg.

Cust 1
purchase 1 amount 1
purchase 1 amount 1
etc.
Total Due - (calculated from items above)

if this Total Due is zero i don't want to print the page



"Duane Hookom" wrote:

When you look at the "field list" in the report design, do you see a field
named "Total Due"?

If "Total Due" In (Field List) Then
Use it
report back results or issues
Else
GoTo my previous reply
End If
--
Duane Hookom
Microsoft Access MVP


"Smiffy" wrote:

Hi Duane, The report already has the fields calculated 'Total Due' but i
can't seem to set up a filter, i've tried following several examples but
getting no where.



"Duane Hookom" wrote:

You should be able to create a totals query grouped by Invoice that
calculates the total. Add this query to your report's record source so you
can use the calculated total for filtering.
--
Duane Hookom
Microsoft Access MVP


"Smiffy" wrote:

Hi I'm using the demo ordering system and have copied the invoice report and
have got it to run for all records. But now i want to exclude records that do
not have an outstanding amount. eg Total Due 0 As this is a calculated
field within the report i dont seem to be able to use it in the query and the
filter doesn't seem to work but i am a newbie. Please advise

 




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 08:37 AM.


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