hjgoldstein
Programmer
Hi.
I have a table tblMain with two date fields:
MainDateRecd - format dd-mm-yyyy
MainReviewDate - format mmm-yyyy
There are two forms which are based on this table.
In the MainReviewDate field on each of the forms, I need to validate as follows:
>=[MainDateRecd] as the proposal can't be reviewed before it has been received <grin>.
My question is, when the Date Received is, say, 09/09/2009 and the Review Date is Sep-09, the validation fails, as Access is looking at Sep-09 as 01/09/09.
Is there a way around this without reams of code?
I was thinking about:
DateSerial(month)[MainReviewDate]>=DateSerial(month)[MainDateRecd]
AND
DateSerial(year)[MainReviewDate]>=DateSerial(year)[MainDateRecd]
but can't get it to work
Any help much appreciated.
Howard.
I have a table tblMain with two date fields:
MainDateRecd - format dd-mm-yyyy
MainReviewDate - format mmm-yyyy
There are two forms which are based on this table.
In the MainReviewDate field on each of the forms, I need to validate as follows:
>=[MainDateRecd] as the proposal can't be reviewed before it has been received <grin>.
My question is, when the Date Received is, say, 09/09/2009 and the Review Date is Sep-09, the validation fails, as Access is looking at Sep-09 as 01/09/09.
Is there a way around this without reams of code?
I was thinking about:
DateSerial(month)[MainReviewDate]>=DateSerial(month)[MainDateRecd]
AND
DateSerial(year)[MainReviewDate]>=DateSerial(year)[MainDateRecd]
but can't get it to work
Any help much appreciated.
Howard.