Compare this behavior to a Query Analyzer. This occurs regardless of the DB connection
1. Execute a query that does not generate errors or warning.
2. click on the Messages tab for the Query Results.
3. Execute the same query again.
In the Query Analyzer, you are sent to the Grid Results tab on Reexecution.
In the Query Builder, you remain on the Messages tab, and must click on the Grid Results to see it again.
This needs to follow Query Window behavior. See QueryThread. thx.
ADStudio v11 and v12 also exhibit this behavior ( you stay on messages tab after successful execution ). I haven't check versions below v11.
ADStudio v11 and v12 also exhibit this behavior ( you stay on messages tab after successful execution ). I haven't check versions below v11.
As far as I can tell, the Query Builder is following Query Window behavior. In Query Analyzer, I remain on whichever tab I last viewed after re-execution. In Query Builder, if Messages were the last tab I viewed, then re-execution will remain with Messages. So I think this is consistent with Query Window behavior, may be I am missing a File->Option setting or something.
We can change the Query Builder to always switch to Grid tab after re-execution, but I think this would be inconsistent with Query Window behavior.
As far as I can tell, the Query Builder is following Query Window behavior. In Query Analyzer, I remain on whichever tab I last viewed after re-execution. In Query Builder, if Messages were the last tab I viewed, then re-execution will remain with Messages. So I think this is consistent with Query Window behavior, may be I am missing a File->Option setting or something.
We can change the Query Builder to always switch to Grid tab after re-execution, but I think this would be inconsistent with Query Window behavior.
OK, Sachin showed me how to get the messages tab on Query Analyzer. I can reproduce the bug now.
OK, Sachin showed me how to get the messages tab on Query Analyzer. I can reproduce the bug now.
Note that in Query Analyzer if the Messages tab was moved to the first (left-most) tab and selected, then the Messages tab will remain selected after re-execution - I think it should select the first non-Messages result tab. Discussed with Niels about this edge case and decided to leave it as is.
Note that in Query Analyzer if the Messages tab was moved to the first (left-most) tab and selected, then the Messages tab will remain selected after re-execution - I think it should select the first non-Messages result tab. Discussed with Niels about this edge case and decided to leave it as is.
Issue #7979 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
No fixed build |
No time estimate |
This needs to follow Query Window behavior. See QueryThread. thx.