How to run both the event handlers in order

Hey, I want to click one button and run two event handlers in order

  1. run query 1, you will get a table 1
  2. input the table 1/result from query 1 to run query 2, and get table 2
    Just click one button and run them in order, showing Table 2 finally. Thank you so much!!

You will want to call query1 from the event handler on your button. Then, call query 2 in the on success event handler in query1. This will call them in your desired order.

2 Likes

Thank you so much for your help!! It works now

If you can, don't forget to mark his answer as the solution for people in the future to easily find :beers:

Done! Thanks for your kind reminder.

1 Like