AndyShuter
Registered User.
- Local time
- Today, 18:47
- Joined
- Mar 3, 2003
- Messages
- 151
I can use If....Then....Else Ok I think, but I'd love to know how you put multiple criteria in a command
For Example - This command sets the value of a field if a car is less than 365 days old
If Me!VehicleDaysOld < 365 Then
Rate = Forms!frmMaintenance!Text584
End If
....But What I'd really like to do is keep the cammand going to check other perameters for example
If Me!VehicleDaysOld < 365 Then
Rate = Forms!frmMaintenance!Text584
If Me!VehicleDaysOld is between 365 and 730 Then
Rate = Forms!frmMaintenance!Text586
etc
etc
Please Help
Andy
End If
For Example - This command sets the value of a field if a car is less than 365 days old
If Me!VehicleDaysOld < 365 Then
Rate = Forms!frmMaintenance!Text584
End If
....But What I'd really like to do is keep the cammand going to check other perameters for example
If Me!VehicleDaysOld < 365 Then
Rate = Forms!frmMaintenance!Text584
If Me!VehicleDaysOld is between 365 and 730 Then
Rate = Forms!frmMaintenance!Text586
etc
etc
Please Help
Andy
End If