I have a grid application where users typically will use advanced or dynamic search to select subsets of records and mark them for various processing to be done. My plan is to have some extra buttons which will lead to new applications where the user can specify what kind of processing is to be done. However, how can one identify the records that the user have searched in the grid?
Are the search criteria available as variables?
Or perhaps there is already a prepared PDO select statement that I can access, so that I don’t have to build it up again (although that is easily done).
I have seen that there are some macros, which can be used for getting a dataset variable for a select query using the existing connection. But is there a way to access just the PDO object, so that you can use the existing connection in PHP in any way you may wish?