knuckelhead
Technical User
In a Qry on the Invoice Date criteria line, i am using .... Between [Start Date] And [End Date]
There is a risk of error in answering the question.
I could correctly type 7/1/2005 as the Start data but incorrectly type 12/31/2004 as the End Date. And i may not realize my mistake.
So, Question #1 is there a way to double check my 2 date choices after i typed them in?
I next use a Second Qry to collapse the detail records into just one record per formula. Which makes me wonder to myself, Question #2 is there a way to make 1 Qry instead of 2 ?? Here is what I mean.
table data is:
Text Text Text Number Number Date
SoldtoID ShiptoID FormulaID Rev$ SellQty InvoiceDate
97 28 Blue Car 880 153 7/6/2005
97 28 Blue Car 1,265 220 7/13/2005
97 28 Blue Car 920 160 7/18/2005
97 28 Blue Car 690 120 7/27/2005
97 28 Blue Car 1,208 210 7/29/2005
97 28 Blue Car 805 140 7/29/2005
124 44 Red Boat 229 139 7/3/2005
124 44 Red Boat 363 220 7/3/2005
124 44 Red Boat 264 160 7/8/2005
124 44 Red Boat 198 120 7/17/2005
124 44 Red Boat 297 180 7/19/2005
124 44 Red Boat 231 140 7/23/2005
Desired is:
SoldtoID ShiptoID FormulaID Rev$ SellQty
97 28 Blue Car 5,768 1,003
124 44 Red Boat 1,582 959
In summary, can I have #1 a way to double check my date range input and #2 is there a way, maybe VBA, to collapse the 12 detail records into just 2 records?
i do not know vba.
thanks for your suggestion.
There is a risk of error in answering the question.
I could correctly type 7/1/2005 as the Start data but incorrectly type 12/31/2004 as the End Date. And i may not realize my mistake.
So, Question #1 is there a way to double check my 2 date choices after i typed them in?
I next use a Second Qry to collapse the detail records into just one record per formula. Which makes me wonder to myself, Question #2 is there a way to make 1 Qry instead of 2 ?? Here is what I mean.
table data is:
Text Text Text Number Number Date
SoldtoID ShiptoID FormulaID Rev$ SellQty InvoiceDate
97 28 Blue Car 880 153 7/6/2005
97 28 Blue Car 1,265 220 7/13/2005
97 28 Blue Car 920 160 7/18/2005
97 28 Blue Car 690 120 7/27/2005
97 28 Blue Car 1,208 210 7/29/2005
97 28 Blue Car 805 140 7/29/2005
124 44 Red Boat 229 139 7/3/2005
124 44 Red Boat 363 220 7/3/2005
124 44 Red Boat 264 160 7/8/2005
124 44 Red Boat 198 120 7/17/2005
124 44 Red Boat 297 180 7/19/2005
124 44 Red Boat 231 140 7/23/2005
Desired is:
SoldtoID ShiptoID FormulaID Rev$ SellQty
97 28 Blue Car 5,768 1,003
124 44 Red Boat 1,582 959
In summary, can I have #1 a way to double check my date range input and #2 is there a way, maybe VBA, to collapse the 12 detail records into just 2 records?
i do not know vba.
thanks for your suggestion.