I would try something like.
If you store on a node the previous month something like. that is just one field you could loop al nodes and do the same
XPathNavigator navigator = this.MainDataSource.CreateNavigator();
XPathNavigator PreviousMonth = navigator.SelectSingleNode("/my:Form/my:PreviousMonth", this.NamespaceManager);
//Now you have the previous month in "PreviousMonth"
now you could do something like
string currentmonth = DateTime.Today.Month;
// now you got current month
if(currentmonth != PreviousMonth)
{
XPathNavigator somevalue =
navigator.SelectSingleNode("/my:Form/my:Somefield", this.NamespaceManager);
somevalue.SetValue("");
}