Filtering database data on button click

Hey guys!

I’m trying to dynamically change page data on a button click but my technique is not working.

Please see the picture below to have an idea how I set up my database:


The “All Assignments” database in this case, reiterates all the assignments on the left hand side. I have a button (encapsulated in red) which is to dynamically change the assignment name and details on the right hand side but I have been unable to make it happen. I’ve created a second database with similar information to see if I could filter but I could not.

As you see below, only the first assignment is displayed. How could I make this work?

Thanks in advance!

Hi.

Please try to bind the “course name” on the right to a dataset, and filter it accordingly inside the onClick event handler of the required button.

Regards,
Genry.

Thank you Genry, it worked!

Glad to be of help :slight_smile:

Regards,
Genry.