G
Guest
I need to update a field in a table based on what another field is
Table Now
-------------
Now_month Count
1
1
1
1
1
2
2
What I need to do is insert incremental values in the count field based on
what the now_month field value is. When the now_month field changes the
counter needs to reset and then start counting again + inserting that value
into the table.
Table after
------------
Now_month Count
1 1
1 2
1 3
1 4
1 5
2 1
2 2
What is the best way of doing this ?
Any help much appreciated !!!!!
Table Now
-------------
Now_month Count
1
1
1
1
1
2
2
What I need to do is insert incremental values in the count field based on
what the now_month field value is. When the now_month field changes the
counter needs to reset and then start counting again + inserting that value
into the table.
Table after
------------
Now_month Count
1 1
1 2
1 3
1 4
1 5
2 1
2 2
What is the best way of doing this ?
Any help much appreciated !!!!!