Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8378

Re: Calendar Question

$
0
0

Hi Gerald,

 

If the field you picked is a datetime and not date, you need to convert it to a date like:

 

CDate({MyTable.Datefield}) - (DayofWeek (CDate({myTable.Datefield}),crSunday)-1);

 

Dates and DateTime are different types and you need to be precise with some of the functions.

 

Hope this helps,

Brian


Viewing all articles
Browse latest Browse all 8378

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>