I am trying to convert a macro and customised text field from MSP2003 to MSP2010. The macro copies Finish to Date1. The customised text field compares Finish to Date1:
IIf([Date1]<[Finish],"Late",IIf([Date1]>[Finish],"Early","OK"))
When Finish equals Date1 the result should be "OK"
This works fine in MSP2003. In MSP2010 the result is "Late" unless I set the date format to include the time.
That is, if I copy Finish to Date1 when I can only see the day and date, it does not work correctly. If I copy Finish to Date1 when the day, date and time are displayed, it works OK!
Any ideas?
Bookmarks