That is interesting.
I'm not 100% sure of what happens when you move to the next record. Are you moving to a different physical record in the database? Also, is the Form's DefaultView Property set to Single Form or Continuous Forms? Continuous Forms and Unbound Fields don't get along very well.
Also, I assumed that the Total Hours that you want to display is for the whole two weeks. Is this correct, or is there supposed to be a Total for each week?
My guess is either lTotalHours isn't getting reset at the right time or it's getting set from the from the Form after it has been created.
Last thing you could do is to repost what code you are using.
I'm not 100% sure of what happens when you move to the next record. Are you moving to a different physical record in the database? Also, is the Form's DefaultView Property set to Single Form or Continuous Forms? Continuous Forms and Unbound Fields don't get along very well.
Also, I assumed that the Total Hours that you want to display is for the whole two weeks. Is this correct, or is there supposed to be a Total for each week?
My guess is either lTotalHours isn't getting reset at the right time or it's getting set from the from the Form after it has been created.
Last thing you could do is to repost what code you are using.
Comment