misssoysauce
Technical User
I am creating a program for work that essentially calculates various charges and displays them on a form.
A couple charges are time-performance based. e.g. As a rental company, we agree to deliver the goods within 3.5 hours. If our delivery time exceeds that, then it qualifies as a late charge and may be subject to partial refunding. So, as below:
Function LateToSite(interval)
If interval > 3:30 Then
etc etc
But VBA does not accept this format. What is the proper format?
In another calculation I will have to subtract 60 minutes from the interval. I am puzzled on the formatting for this as well.
Any help would be greatly appreciated, I can't seem to find anything in Access Help or on the net about it.
A couple charges are time-performance based. e.g. As a rental company, we agree to deliver the goods within 3.5 hours. If our delivery time exceeds that, then it qualifies as a late charge and may be subject to partial refunding. So, as below:
Function LateToSite(interval)
If interval > 3:30 Then
etc etc
But VBA does not accept this format. What is the proper format?
In another calculation I will have to subtract 60 minutes from the interval. I am puzzled on the formatting for this as well.
Any help would be greatly appreciated, I can't seem to find anything in Access Help or on the net about it.