Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

11) Add another clear button on the form. This time the form should clear AND th

ID: 3586966 • Letter: 1

Question

11) Add another clear button on the form. This time the form should clear AND the customer’s total should clear (and zero out).

Visual Basic 2015

I have the first 1 - 10 project done and it is running fine but when i hit the CLEAR button on the form it does not dump all the data.. It clears the box that shows the total price but when i click on another idem to start the next custermer the last custer data (cost) is still there and it adds them togeather. How can i CLEAR all cost so i can start inputing for next custermer?

Thanks Guys

Explanation / Answer

Although you have not mentioned any code that you are using but looking at your problem I think the issue is with variables. I expect that you are adding cost after each step to a variable. So try to clear that variable also and not just the box that is showing the value.

If you are still confused please share some code in the comments, I can help.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Chat Now And Get Quote