P
Pjdelchi
I am trying to run an IIf statement that will return a value of "Y" or "N"
for any records where the [settle-dt] occurs within the current month. I
found how to automate the results from the beginning of the month, but is
there a way to automate the statement below so that I will not have to
manually change the #6/1/2008# portion. In other words, how can I run this
query from this point onwithout having to bother with changing of the dates
in the future? All I need to know is what records have a [settle-dt] in the
current month. Thanks.
"Current Month?: IIf([settle-dt]>Date()-Day(Date()) And
[settle-dt]<#6/1/2008#,"Y","N")"
for any records where the [settle-dt] occurs within the current month. I
found how to automate the results from the beginning of the month, but is
there a way to automate the statement below so that I will not have to
manually change the #6/1/2008# portion. In other words, how can I run this
query from this point onwithout having to bother with changing of the dates
in the future? All I need to know is what records have a [settle-dt] in the
current month. Thanks.
"Current Month?: IIf([settle-dt]>Date()-Day(Date()) And
[settle-dt]<#6/1/2008#,"Y","N")"