help date and sum

E

e.hermogenes

maybe somebody can help me with my problem; im new in this field S O
R R Y
_________________________________________________________________________________
code___/__Description____________/___OrderQty_/__OrderIssue/
__Date_______/__OrdNo___
0001 Pen Blue
05 05 09-10-2007 01
0002 Pen Black
03 03 10-10-2007 02
0001 Pen Blue
07 07 10-10-2007 02
0003 Pen Red
02 02 10-12-2007 03

ANSWER WILL BE LIKE THIS *** enter start date and enter end
date***
0001 Pen Blue
12 12
0002 Pen Black
03 03
0003 Pen Red
02 02
(but i need to use the between date so i can check the items been
ordered for the period i need) Pls just try to understand thank you
again.
 
M

Marshall Barton

maybe somebody can help me with my problem; im new in this field S O
R R Y
_________________________________________________________________________________
code___/__Description____________/___OrderQty_/__OrderIssue/
__Date_______/__OrdNo___
0001 Pen Blue
05 05 09-10-2007 01
0002 Pen Black
03 03 10-10-2007 02
0001 Pen Blue
07 07 10-10-2007 02
0003 Pen Red
02 02 10-12-2007 03

ANSWER WILL BE LIKE THIS *** enter start date and enter end
date***
0001 Pen Blue
12 12
0002 Pen Black
03 03
0003 Pen Red
02 02
(but i need to use the between date so i can check the items been
ordered for the period i need) Pls just try to understand thank you
again.


I think that you just want a Totals query (View menu).

In the Totals row, use Group By for the code and description
fields and Where for the order date field.
 
E

e.hermogenes

maybe somebody can help me with my problem; im new in this field S O
R R Y
__________________________________________________________________________­_______
code___/__Description____________/___OrderQty_/__OrderIssue/
__Date_______/__OrdNo___
0001 Pen Blue
05 05 09-10-2007 01
0002 Pen Black
03 03 10-10-2007 02
0001 Pen Blue
07 07 10-10-2007 02
0003 Pen Red
02 02 10-12-2007 03
ANSWER WILL BE LIKE THIS *** enter start date and enter end
date***
0001 Pen Blue
12 12
0002 Pen Black
03 03
0003 Pen Red
02 02
(but i need to use the between date so i can check the items been
ordered for the period i need) Pls just try to understand thank you
again.

I think that you just want a Totals query (View menu).

In the Totals row, use Group By for the code and description
fields and Where for the order date field.

--
Marsh
MVP [MS Access]- Hide quoted text -

- Show quoted text -
Hi Marsh thank you for the time first of all
Im using Between enter start date and enter end date
if im going to enter start date 09/10/2007 and enter end date 10/10/20079 (IN QUERY)
output will be like this
G-001 / Pen Blue / 12 / 12
G-002 / Pen Black / 03 / 03
and if im going to enter start date 09/10/2007 and enter end
date10/12/2007 (IN QUERY)
out put will be
G-001 / Pen Blue / 12 / 12
G-002 / Pen Black / 03 / 03
G-003 / Pen Red / 02 / 02
thank you again hope you understand this time becuase i try already the idea you give me
before i try to ask for help thank you agin.
 
M

Marshall Barton

Im using Between enter start date and enter end date
if im going to enter start date 09/10/2007 and enter end date 10/10/20079 (IN QUERY)
output will be like this
G-001 / Pen Blue / 12 / 12
G-002 / Pen Black / 03 / 03
and if im going to enter start date 09/10/2007 and enter end
date10/12/2007 (IN QUERY)
out put will be
G-001 / Pen Blue / 12 / 12
G-002 / Pen Black / 03 / 03
G-003 / Pen Red / 02 / 02


What you want is what you should get from a totals query.
Please post a Copy/Paste of your query's SQL view.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top