I'm going to take a stab at this.Try thistheprevmonth = UCase(MonthName(Month(DateAdd(m, -1, dtsglobalvariables("TodaysDate"))), True))
EDIT: I think the m for month needs to be in quotestheprevmonth = UCase(MonthName(Month(DateAdd("m", -1, dtsglobalvariables("TodaysDate"))), True))
Michael<Yoda>Use the Search page you must. Find the answer you will. Cursors, path to the Dark Side they are. Avoid them, you must. Use Order By NewID() to get a random record you will.</Yoda>Opinions expressed in this post are not necessarily those of TeleVox Software, inc. All information is provided "AS IS" with no warranties and confers no rights.