Hello,
I'm coding a program that saves information about my patients, so i created a rich textbox for every field. (Name, Tel, etc). The program saves a .txt for each field, no matter if there is something on it or not.
Then I realized that if i forget to look if that patient already has his files and saved, it would automatically overwrite everything.
After searching your forums for a little bit I found the code for asking to overwrite or not, the problem is that there are 209 Textboxs, so clicking "no" could be a little bit boring if I have 500+ patients.
So i wanted to add the overwrite prompt line to only one save line, but when it asks and i click "No" it doesn't saves that file...but it overwrites the others.
Is there a way to execute a code when the user clicks "Yes" on the Overwrite Prompt Window and to execute a different code when the user clicks "No"?
I'm sorry if it was a little confusing, be free of asking something.
Thanks in advance,
Aere.