I have a gui and I want to link it to a database. There are many windows, and when button 'next' is pressed, one closes and opens another. Now my problem is that I have other buttons that I wanna control with the database. And the gui should save the informations when a button is clicked and prepare the next window with only the compatible options. I have no clue how to do that. Can anyone please help me with how to link my button to the database and save the information in it? I have tried to link it over the command function, I know there must be a way to do it with that but I couldn't get it right. Continue reading...