When doing a search in an MSQ, the results are displayed in a grid.
Only the first 20 results are shown and the next 20 are fetched when you try to scroll to row 21.
This is quite acceptable behaviour for online use.
However, our users have expressed a need to export the result grid to excel and Mincom have not provided an export or copy to clipboard function. I have attempted to script it.
I have found that I can script the MSQ620 and loop though the output instances, extracting the values. The script will retrieve as many output instances as are available - if the user has scolled down to row 21 then 40 rows are retrieved.
The problem is that they may want thousands of rows exported and I can't see a way to trigger the next fetch in script.
When scripting with BOC, its done with MIMSX_FLAG_RESTART.
Has anyone done this with MSQs?
Only the first 20 results are shown and the next 20 are fetched when you try to scroll to row 21.
This is quite acceptable behaviour for online use.
However, our users have expressed a need to export the result grid to excel and Mincom have not provided an export or copy to clipboard function. I have attempted to script it.
I have found that I can script the MSQ620 and loop though the output instances, extracting the values. The script will retrieve as many output instances as are available - if the user has scolled down to row 21 then 40 rows are retrieved.
The problem is that they may want thousands of rows exported and I can't see a way to trigger the next fetch in script.
When scripting with BOC, its done with MIMSX_FLAG_RESTART.
Has anyone done this with MSQs?