|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Date comparison
In Access2000 I have a query where I am taking the DueDate and comparing it against the actual ShipDate. If the DueDate is greater than the ShipDate, I need a True value, otherwise a False value. Can you please offer some assitance as to how this should appear in my query?
|
|
#2
|
||||
|
||||
|
within the query you can include this command as a field
ShipStatus:IIF([DueDate]>[ShipDate],True,False) |
|
#3
|
|||
|
|||
|
I tried the code specified - Thanks - works great with one exception. If the dates DueDate and ShipDate match I receive a False value when it should be True. Any ideas?
|
|
#4
|
|||
|
|||
|
Try ShipStatus:IIF([DueDate]>=[ShipDate],True,False)
|
![]() |
| Viewing: ASP Free Forums > Database > Microsoft Access Help > Date comparison |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|