-----Original Message-----
if equal, i would like to disable the command sutton
here's my code, labordate is 9/22/04
If DateDiff("d", Date - 1, Me![LaborDate]) = 0 Then
'If CDate(Date - 1) = CDate(Me![LaborDate]) Then
Me![Command1].Enabled = False
Me![Command1].Visible = False
Else
Me![Command1].Enabled = True
Me![Command1].Visible = True
End If
-----Original Message-----
More info please. Where are you trying to do the
comparison - in a query? What do you want the comparison
to do - calculate difference in days - flag if equal -
something else?
Waiting for reply
-----Original Message-----
I have a date field (lastUpdate) stored as a short date
in
a table. I would like to compare that against today's
date. I have tried numerous ways, nothing works. Very
frustrated!!!
Thanks
.
.
.