Hi all,
I am working on a form where you will search for results held in a table and the form is going to run a continuous set of results if any are found. I have attempted to set up a series of message box's in the event that nothing is found as this would mean a few different things. However when trying to run the VBA from the records set bringing nothing back the code seems to want to run through the whole thing whether the answer is yes or no and it doesn't pick up that if you have selected yes to continue down path A and if you select no then you miss path A and go to path B etc. The issue I need to resolve is that there will be 3/r tiers of questions so you may select Yes, Yes, No and then it kicks you out with a pop up of what you will need to do, kind of like how a flow chart works but within pop up box's.
My main question is, is it possible? And if so how do I get it to stop continuing through the whole code and notice that if you clicked No on the first question it shouldn't bring you to the first vbNo if statement as this is in the event the first pop up was answered yes and then the user clicks no?
Thank you in advance for any help and advice given
I am working on a form where you will search for results held in a table and the form is going to run a continuous set of results if any are found. I have attempted to set up a series of message box's in the event that nothing is found as this would mean a few different things. However when trying to run the VBA from the records set bringing nothing back the code seems to want to run through the whole thing whether the answer is yes or no and it doesn't pick up that if you have selected yes to continue down path A and if you select no then you miss path A and go to path B etc. The issue I need to resolve is that there will be 3/r tiers of questions so you may select Yes, Yes, No and then it kicks you out with a pop up of what you will need to do, kind of like how a flow chart works but within pop up box's.
My main question is, is it possible? And if so how do I get it to stop continuing through the whole code and notice that if you clicked No on the first question it shouldn't bring you to the first vbNo if statement as this is in the event the first pop up was answered yes and then the user clicks no?
Thank you in advance for any help and advice given
