I need to calculate dates for my report instead of using begin date and end date parameters. How do I do that in basic or crystal syntax?? I wanted my begin date to be same day of today but the year should be 4 years less than the present year and the end date should be two weeks from today. Please help!!!! I have been using date() function and the datediff andf dateadd functions from visual basic but the check function always finds some problem with my formula.
don't know about dateserial, I'm also no VBA programmer, I'm always using the Crystal syntax, never ever VBA. Maybe it's because I'm working with cr since version 3 and in the firts attempts the VBA Syntax had some troubles.
CDate is Cystal syntax, takes three numbers, year, month, and day.