G
Guest
To all users,
Good Day,
1. I was having following problem.
2. I tried my best to find within the previous posts but failed to get.
3. I posted my problem but sad to say it was so easy and simple but I
did not get sollution.
4. I got responses for that, however I am thank full for the people who
spent their valued time and responsed me them.
5. Now I am exploring it for all users. Access users who are already
familier with it and off course we begniners need their attention and request
them please take care. You will not loose any thing and we will get lot.
Here is problem
ParkingDuration: DateDiff("n",[ParkingDatetime],[DriveOutDateTime])<70,"1
Hour" & IIf >70&<130,"2 Hour"
Solution
ParkingDuration:
IIf(DateDiff("n",[ParkingDatetime],[DriveOutDateTime])<=70,'1
Hour',IIf(DateDiff("n",[ParkingDatetime],[DriveOutDateTime])<=130,'2
Hours',IIf(DateDiff("n",[ParkingDatetime],[DriveOutDateTime])<=190,'3
Hours',)))
New Question.
Now I would like to put two conditions.
ParkingDuration:
IIf(DateDiff("n",[ParkingDatetime],[DriveOutDateTime])<=70&this,'1
Hour',IIf(DateDiff("n",[ParkingDatetime],[DriveOutDateTime])<=130&this,'2Hours',
Any one if could help me?
Regards,
Good Day,
1. I was having following problem.
2. I tried my best to find within the previous posts but failed to get.
3. I posted my problem but sad to say it was so easy and simple but I
did not get sollution.
4. I got responses for that, however I am thank full for the people who
spent their valued time and responsed me them.
5. Now I am exploring it for all users. Access users who are already
familier with it and off course we begniners need their attention and request
them please take care. You will not loose any thing and we will get lot.
Here is problem
ParkingDuration: DateDiff("n",[ParkingDatetime],[DriveOutDateTime])<70,"1
Hour" & IIf >70&<130,"2 Hour"
Solution
ParkingDuration:
IIf(DateDiff("n",[ParkingDatetime],[DriveOutDateTime])<=70,'1
Hour',IIf(DateDiff("n",[ParkingDatetime],[DriveOutDateTime])<=130,'2
Hours',IIf(DateDiff("n",[ParkingDatetime],[DriveOutDateTime])<=190,'3
Hours',)))
New Question.
Now I would like to put two conditions.
ParkingDuration:
IIf(DateDiff("n",[ParkingDatetime],[DriveOutDateTime])<=70&this,'1
Hour',IIf(DateDiff("n",[ParkingDatetime],[DriveOutDateTime])<=130&this,'2Hours',
Any one if could help me?
Regards,