B
Bill Fischer via AccessMonster.com
Please help, maybe I have overlooked something but think I have the following
not working in either the true or false because of the >=. Doing searches I
came up no information on this issue. I plugged a #date# into both true/
false and it works fine until I insert the >= . I have even tried turning
the equation around and also without the field. So many attempts I am
beginning to think it is not possible.
What I'm looking for on this date field is Current Month records and if
before the 4th of the Current Month then Last Months records also.
IIf(Date()<=(DateSerial(Year(Date()),Month(Date()),4)),(DateSerial(Year
(Date()),Month(Date())-1,1)<=[AMonthYear]),(DateSerial(Year(Date()),Month
(Date()),1))<=[AMonthYear])
Any help will be greatly appreciated.
Thanks,
Bill
not working in either the true or false because of the >=. Doing searches I
came up no information on this issue. I plugged a #date# into both true/
false and it works fine until I insert the >= . I have even tried turning
the equation around and also without the field. So many attempts I am
beginning to think it is not possible.
What I'm looking for on this date field is Current Month records and if
before the 4th of the Current Month then Last Months records also.
IIf(Date()<=(DateSerial(Year(Date()),Month(Date()),4)),(DateSerial(Year
(Date()),Month(Date())-1,1)<=[AMonthYear]),(DateSerial(Year(Date()),Month
(Date()),1))<=[AMonthYear])
Any help will be greatly appreciated.
Thanks,
Bill