So basically I click the search students button (circled red), and the window pops out fine and lets me searches the students. Okay i searched for the student and its a success.

The problem is, 2 windows appear now, the original main menu form where I clicked search students, and now the searchstudent2 form which displays the details of the student i searched for.
The problem is, if I dont close the searchstudent2 form, if I go back 2 main menu, and click search, the search doesnt work and instead it just goes back immediately to the searchstudents2 form, instaed of letting me type in a studentID.
Also My friend's database, could open the form in just one window, not 2.when he clicks search only 1 window appears, the main menu one goes off, how would I do that?
Cheers.

The problem is, 2 windows appear now, the original main menu form where I clicked search students, and now the searchstudent2 form which displays the details of the student i searched for.
The problem is, if I dont close the searchstudent2 form, if I go back 2 main menu, and click search, the search doesnt work and instead it just goes back immediately to the searchstudents2 form, instaed of letting me type in a studentID.
Also My friend's database, could open the form in just one window, not 2.when he clicks search only 1 window appears, the main menu one goes off, how would I do that?
Cheers.