This expression will return the Sunday of the week the date is in. For
Sunday, it will return the current date, for every other day, it returns the
next Sunday date:
dateadd("d",choose(datepart("w",date),0,6,5,4,3,2,1),date)

Signature
Dave Hargis, Microsoft Access MVP
> I am trying to use a date function with arguements to assign a specific day
> to a form. For example, using the =date() function on the form would put in
[quoted text clipped - 5 lines]
> next sunday as soon as next monday arrives. Thanks in advance! I used to
> know how to do this but i simply cannot remember.
Douglas J. Steele - 28 May 2008 15:54 GMT
Or
DateAdd("d", (8 - Weekday(Date)) Mod 7, Date)

Signature
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)
> This expression will return the Sunday of the week the date is in. For
> Sunday, it will return the current date, for every other day, it returns
[quoted text clipped - 16 lines]
>> to
>> know how to do this but i simply cannot remember.
Klatuu - 28 May 2008 16:05 GMT
even better.

Signature
Dave Hargis, Microsoft Access MVP
> Or
>
[quoted text clipped - 20 lines]
> >> to
> >> know how to do this but i simply cannot remember.