Hi,
Please help me here with my knowledge gap.
From what I know, I can only access the database and retrieve the data on the form's Submit event. I can either submit the form to itself to stay on the same page or submit it to another page.
So, I guess my question is how can I trigger different functions that will retrieve the data from the database within the same page?
Example: the form has two buttons: GetName and GetLocation
When GetName is clicked, the routine that handles names fires, when GetLocation is clicked - a different routine that handles Locations fires. Both routines would bring back the data without going to the next page.
Please advise.
Thanks!
Please help me here with my knowledge gap.
From what I know, I can only access the database and retrieve the data on the form's Submit event. I can either submit the form to itself to stay on the same page or submit it to another page.
So, I guess my question is how can I trigger different functions that will retrieve the data from the database within the same page?
Example: the form has two buttons: GetName and GetLocation
When GetName is clicked, the routine that handles names fires, when GetLocation is clicked - a different routine that handles Locations fires. Both routines would bring back the data without going to the next page.
Please advise.
Thanks!