G
Guest
I have a query that has a seperate form used for entering data. I am having
problems adding calculated controls and I will try to explain what I have set
up the best I can.
First, I have a list box that is the total number of hours for a maintenance
action that is calculted from two other list boxes with a start and end DTG.
I then have 5 list boxes that calculate a possible 5 delays in maintenance
from 5 sets of start and end DTG list boxes. I then have a list box that
calculates the total delay time from the 5 possible delay scenerios.
Finally, I have a list box that calculates total maintenance time by
subtracting the total delay time from the total number of hours for the
maintenance action.
I have problems when I have more than one delay time or no delay times at
all. When I have more than one delay time it enters all the different delay
times in the total delay time list box and gives me a #Error for the total
maintenance time box. If there are no delays then I also get a #Error in the
total maintenance time box. The only time I get accurate calculations is if
there is only 1 delay. I hope I explained this well enough that someone can
please help me.
Cheers,
Keith
problems adding calculated controls and I will try to explain what I have set
up the best I can.
First, I have a list box that is the total number of hours for a maintenance
action that is calculted from two other list boxes with a start and end DTG.
I then have 5 list boxes that calculate a possible 5 delays in maintenance
from 5 sets of start and end DTG list boxes. I then have a list box that
calculates the total delay time from the 5 possible delay scenerios.
Finally, I have a list box that calculates total maintenance time by
subtracting the total delay time from the total number of hours for the
maintenance action.
I have problems when I have more than one delay time or no delay times at
all. When I have more than one delay time it enters all the different delay
times in the total delay time list box and gives me a #Error for the total
maintenance time box. If there are no delays then I also get a #Error in the
total maintenance time box. The only time I get accurate calculations is if
there is only 1 delay. I hope I explained this well enough that someone can
please help me.
Cheers,
Keith