badboy2005
Registered User.
- Local time
- Today, 13:11
- Joined
- Mar 29, 2005
- Messages
- 10
Hello, am trying to make a code, that will set a value in the specific field only if the current value is more than 0, but i cant get it to work... here's the code:
If Me![DaysLoaned] <= 0 Then
Me![DaysLoaned] = Int(DateDiff("d", Me![DueReturnDate], Date))
Else
Me![DaysLoaned] = "Doesnt Apply"
End If
It always returns the "Doesnt Apply"
If Me![DaysLoaned] <= 0 Then
Me![DaysLoaned] = Int(DateDiff("d", Me![DueReturnDate], Date))
Else
Me![DaysLoaned] = "Doesnt Apply"
End If
It always returns the "Doesnt Apply"