Dear All
I`m new one which are trying to do something in ms Access.
I`m just learning this language, but its not easy and this is reason for looking possibility to count some rows in my table. I have a table with some Columns like: Names Costs Quantity Date This date is date of 1st month sales. There are thousands of products. This tables has 45.000 queries
its looks
its looks
HTML Code:
Name Costs Quantity Date
ProductA 1250 45 01/03/2011
ProductA 1250 23 01/06/2011
ProductB 750 31 01/02/2011
ProductB 750 45 01/09/2011
ProductB 750 21 01/12/2011
ProductB 750 45 01/01/2012
ProductB 750 37 01/03/2012
ProductB 750 25 01/06/2013
ProductB 750 11 01/07/2014
ProductB 750 15 01/09/2014
I would like to build queries which will be able to count Date and continue counting after 1st month of the sales, the next count will count not visible information and only will show counting Cycle for the some of specified information.
I will give a name for this column like "Month Live"
It will be look like that after this queries/question like that
HTML Code:
Name Costs Quantity Date Month Live
ProductA 1250 45 01/03/2011 1
ProductA 1250 23 01/06/2011 4
ProductB 750 31 01/02/2011 1
ProductB 750 45 01/09/2011 8
ProductB 750 21 01/12/2011 11
ProductB 750 45 01/01/2012 12
ProductB 750 37 01/03/2012 14
ProductB 750 25 01/06/2013 29
ProductB 750 11 01/07/2014 41
ProductB 750 15 01/09/2014 43
How to execute to get the result like this one ?