I have a tree menu which displays a list of fields from my table. I would like the users to click on an item from the menu and then have the system generate code to pull the corresponding information from the database and display it on the same form, different table.
Example: user clicks on Order, I would like order id, name and date to be pulled from the database.
How can I do this as there are multiple items in my tree and I am not sure how to pass the clicked item to a SQL statement.
Thank you.
Example: user clicks on Order, I would like order id, name and date to be pulled from the database.
How can I do this as there are multiple items in my tree and I am not sure how to pass the clicked item to a SQL statement.
Thank you.