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 » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Access Queries - Group in selection and in output



 
 
Thread Tools Display Modes
  #1  
Old October 25th, 2004, 01:45 PM
Peter
external usenet poster
 
Posts: n/a
Default Access Queries - Group in selection and in output

Kindly assist me with this one

I am working with three tables

A. Order
B. Invoice head (Invoice header information linked to Order via Order number)
C. Invoice line (Linked to invoice head via invoice number)

Each invoice line will hold a product code, the value of the product plus
several other fields. The value of the product can of course be both debit a
credit. An order can have many Invoice-heads and an invoice head can have
many invoice lines.

Now I would like to design a Query that for certain product codes select
them if the sum of product value for a booking/product for all invoice lines
is 0. And the result should be grouped by Booking and product and show the
total value of each product pr. booking.

I have tried to make this work in the Query grid, but without success.

Looking forward for your assistance

Best regards
Peter
  #2  
Old October 25th, 2004, 02:48 PM
[MVP] S.Clark
external usenet poster
 
Posts: n/a
Default

Paw through the Northwind example, as it has a similar data structure.
Examine the queries to see how they do totals, etc.

--
Steve Clark, Access MVP
FMS, Inc.
www.fmsinc.com/consulting.

"Peter" wrote in message
...
Kindly assist me with this one

I am working with three tables

A. Order
B. Invoice head (Invoice header information linked to Order via Order

number)
C. Invoice line (Linked to invoice head via invoice number)

Each invoice line will hold a product code, the value of the product plus
several other fields. The value of the product can of course be both debit

a
credit. An order can have many Invoice-heads and an invoice head can have
many invoice lines.

Now I would like to design a Query that for certain product codes select
them if the sum of product value for a booking/product for all invoice

lines
is 0. And the result should be grouped by Booking and product and show

the
total value of each product pr. booking.

I have tried to make this work in the Query grid, but without success.

Looking forward for your assistance

Best regards
Peter



 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Hide Specific rows. Steve Worksheet Functions 7 June 9th, 2004 09:27 PM
Queries don't work after conversion to MS Access 2000 Nel Kes Running & Setting Up Queries 1 June 1st, 2004 01:55 PM
Option group selection as query criteria Tara Running & Setting Up Queries 1 May 28th, 2004 04:18 PM


All times are GMT +1. The time now is 04:40 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.