Mannificent
Technical User
- May 8, 2009
- 4
Part No Serial Value Date MCBR
001R00088 G3U042022 8639009 2009-04-29
001R00088 G3U042022 8121497 2009-03-20
001R00088 G3U042022 7056211 2008-12-23
001R00088 G6U120297 2136304 2009-04-19
001R00088 G6U120297 1899563 2009-04-08
001R00088 G6U120297 1406969 2009-03-20
001R00088 G6U120297 999786 2009-03-05
I have a query with the above sample output: sorted by serial then date.
What I would like is have VB code go through the serials and for each same serial subtract the next fields 'value' from it's 'value' field and append result to new field 'MCBR' in a table. Hope that is clear, any help appreciated.
001R00088 G3U042022 8639009 2009-04-29
001R00088 G3U042022 8121497 2009-03-20
001R00088 G3U042022 7056211 2008-12-23
001R00088 G6U120297 2136304 2009-04-19
001R00088 G6U120297 1899563 2009-04-08
001R00088 G6U120297 1406969 2009-03-20
001R00088 G6U120297 999786 2009-03-05
I have a query with the above sample output: sorted by serial then date.
What I would like is have VB code go through the serials and for each same serial subtract the next fields 'value' from it's 'value' field and append result to new field 'MCBR' in a table. Hope that is clear, any help appreciated.