Hi All

Im creating a financial ratio calculator project. After calculating ratios there is a button that gives the users the option to perform another ratio calculation...

Initially i used this:
controlname.text = ""

but then that is not effective, because when try to calculate ratios still in the same session, i dont not get the required results, all i get is empty fields, because of that empty string i used...

Any help on how to complish this??

Thanks in advance...

Recommended Answers

All 4 Replies

Put whatever was initally in the string before your fitst calculation back in instead of a null.

Yeah put it back and then do what ??

Show some code so we can see what you are doing. Otherwise I am just guessing.

I managed to get it right...what i simply had to do is put empty strings to the labels...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.