VFP7- Application does appointment scheduling. I have a form that gets called to make recurring appointments. It gets passed a datetime field of an initial appointment. Lets say it gets passed 05/17/2002 07:00 which is a friday. The user can select the day of week to create the recurring appointments on, using an optiongroup with Monday-Friday. So for this example, they want the first recurring appointment start on the next tuesday after the 17th which would be the 21st . So they click the Tueday option. So now in my code I need to figure out how to set my start date to 05/21/2002. I thought I could use the week() function, but that hasn't been any help.
Thanks
Kirk