From: Chris Gorham on
Hi,

simple one - I need to calculate the date of the begining of the month for
the date Post Date which is in another field of the query.

Tried this - Date("01",month([Post Date]),year([Post Date]) and variants of
this expresson but no avail...

month([Post Date]) and year([Post date]) both work and return the serial
number of the month and year of Post Date, but I can't string them together
to return a date

Thks...Chris
From: Rob Parker on
DateSerial(Year([Post Date]),Month([Post Date]),1)

Rob


Chris Gorham wrote:
> Hi,
>
> simple one - I need to calculate the date of the begining of the
> month for the date Post Date which is in another field of the query.
>
> Tried this - Date("01",month([Post Date]),year([Post Date]) and
> variants of this expresson but no avail...
>
> month([Post Date]) and year([Post date]) both work and return the
> serial number of the month and year of Post Date, but I can't string
> them together to return a date
>
> Thks...Chris