V7 does not have a function called dayofweek where you can actually find the first day in the week. It does have a function called weekday which only returns the day number. The date functions are very limited compared to 8+.
I am looking for the Crystal Syntax (V7) for the datediff,Dateadd VB syntax functionality.
Here's the example I am trying to convert.
DateAdd("d', -(Weekday({Date_Time_Field}), crSunday} -1), ({Date_Time_Field})
You can see that I any trying to return a string of the first day of the week.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.