I created an application that has a 3-button menu that represents each chapter of my course. In the second chapter I have a test with score that is saved in the database (if it answered all the questions correctly it has 10, otherwise it has 1). How can I limit access to one of the following menus (after the menu containing the test) if it does not have a maximum score in my database?
Menu: In the red frame is my test. I can do it and I wish that if it didn't have a grade of 100%, I couldn't access the last menu button. (from menu) :
I can send you more detail if it is wasn't clear .