Hi, I'm looking for a relatively simple way to serialize values in a query. My data has 3 key fields, Warehouse, Item and Code Date. I would lie to label or rank the Code Date within each Item and Warehouse as 1,2,3,,,, I am not familiar with VB or SQL, would like to use standard functions if possible. In my mind, the data would look like this:
WAREHOUSE ITEM CODE DATE RANK SumOfLYQTY FirstOfCurrent Date Expr1 1 01500 20190325 1 1254 20181218 -1 1 01500 20190401 2 3328 20181218 -1 1 01500 20190408 3 3520 20181218 -1 2 01500 20190325 1 1969 20181218 -1 2 01500 20190401 2 4032 20181218 -1 2 01500 20190408 3 3264 20181218 -1