Dear all,
Please correct me whether below code is correct or not, i need previous month in text box.
Me!BeginDate = CDate("01/" & Month(Date) & "/" & Year(Date))
Me!EndDate = DateAdd("d", -1, DateAdd("m", 1, Me!BeginDate))
Your help will be highly appreciated.