Gurus,
I am getting current month period based on user entered value and calculating prior month by off-setting current month by 1.
it works fine when current month value is greater than 1. If it is 1, prior month does get evaluated as 12 of previous year.
Example...
If Current period is - Feb, 2008 (02/2008). previous period comes fine as Jan, 2008.
If current period is Jan, 2008 (01/2008) perious period is unknown. (I want it to be 12/2007).
is there way to handle this without too much coding etc?
Regards,
-SM