G
Guest
I have a main form and a subform. The main form contains information of a
specific person, i.e., a student's name, stud's address, etc. This main form
simply pulls data from a table, so the user does not have to typing in the
data. The subform has textboxes that the user enters the students's scores.
There is a textbox to hold the sum of these scores, intTotal. After the user
entered the scores, one of these labels "A" or "B" or "C" or "D" will be
highlighted; i.e., RGB(0,255,0), depending on the scores. The problem is when
I advance to the next record using the Access built-in navigation on the
subform, the previous label of the previous record is still there. The same
problem happens when I click the next button on the navigation of the main
form. I did use the current event on the subform, but it seems does not work.
What should I do to clear the previous label because the next record's data
haven't been entered yet. Thank you for your helo - tim
specific person, i.e., a student's name, stud's address, etc. This main form
simply pulls data from a table, so the user does not have to typing in the
data. The subform has textboxes that the user enters the students's scores.
There is a textbox to hold the sum of these scores, intTotal. After the user
entered the scores, one of these labels "A" or "B" or "C" or "D" will be
highlighted; i.e., RGB(0,255,0), depending on the scores. The problem is when
I advance to the next record using the Access built-in navigation on the
subform, the previous label of the previous record is still there. The same
problem happens when I click the next button on the navigation of the main
form. I did use the current event on the subform, but it seems does not work.
What should I do to clear the previous label because the next record's data
haven't been entered yet. Thank you for your helo - tim