Toad World® Forums

SQL Navigator 7.2.0.3912 Ignore option: Cursor focus stays in the script after execution

The selected query is not selected after execution and the cursor focus “jumps” to the next query.
I think the focus should always stay in that position in which the user executed it.

My pref. is:
Preferences/Code Editor/SQL Scripts/Cursor focus stays in the script after execution = Y
Preferences/Code Editor/SQL Scripts/Focus query for corresponding data result = Y

Interesting, that both of this option have equal description in User Guide
documents.quest.com/…/code-editor-|-sql-scripts

“Cursor focus stays in the SQL query after single execution” - When selected, the cursor will stay in the Script area instead of moving to the data grid.
“Focus query for corresponding data result” - When selected, the cursor will stay in the Script area instead of moving to the data grid.

I think that option “Cursor focus stays in the script after execution” have incorrect description in UG and does not work.

Hi dnt,

I think you want to stay the cursor focus in the query after execution, you can get the expected result when you selected the needed query and executed it.

Regards,

Alan

Hi Alan!

Thx for your response.

But it is not a right decision of my problem.

If I have a big script I need to select it all to apply your solution. It is very uncomfortable.

And you did not answer to question what effect the setting “Cursor focus stays in the SQL query after single execution” and how it differs from the setting “Focus query for corresponding data result”?

I think that now this settings does not work correctly.

Hi dnt,

The description of the two options as follow:

1.The option “Cursor focus stays in the SQL query after single execution” is mean: “When switch the Result tabs, the cursor will stay in the Script area instead of disappear”;

2.The option “Focus query for corresponding data result” is mean: “When switch the Result tabs, the cursor will go to the front of the corresponding query”;

The Help document may be exist mistake about this item, I hope the above is useful to you, thanks.

Regards,

Alan