D
DavidW
I am trying to use:
If DateDiff("m", Me.pumpda, (DMax("[pumpda]", "[usage]"))) > 1 Then
What I was hoping For this to do is to look at a table "usage", field
"pumpda"(which is a date) and compare it to the form (which has the same
recordsource), and find out if the date that is being entered is greater
than 1 month.
Problem-
Its not working, it thinks that any date is not greater than whats in the
table.
I am wanting to limit the reports by month. They need to be month by month.
What I hope to avoid is someone skipping a month by accident?
Is this the wrong approach?
Thanks
David
If DateDiff("m", Me.pumpda, (DMax("[pumpda]", "[usage]"))) > 1 Then
What I was hoping For this to do is to look at a table "usage", field
"pumpda"(which is a date) and compare it to the form (which has the same
recordsource), and find out if the date that is being entered is greater
than 1 month.
Problem-
Its not working, it thinks that any date is not greater than whats in the
table.
I am wanting to limit the reports by month. They need to be month by month.
What I hope to avoid is someone skipping a month by accident?
Is this the wrong approach?
Thanks
David