>Will someone share with me their function to < go to the 1st day of the prior month> (from any date)? Keep in mind that I am stuck in the 90's (VFP7).
>
>Thanks, Randy
Try
ldDate = date()
ldPriorDate = gomonth(m.ldDate - day(m.ldDate) + 1,-1)
If it's not broken, fix it until it is.
My Blog