TOAD sql editor - prompt when file changed? - toad

In TOAD, if I'm editing a sql file in the sql editor window and that file is changed (ie: by making an edit to it in Textpad), TOAD doesn't prompt you to get the changes. Is there a way to get TOAD to give you a prompt?
Conversely, in Textpad if you have a file open and it is changed, Textpad will prompt you and ask if you want to reload the file with the changes.
Edit: We're using TOAD v. 8.6.1

I understand you are using 8.6.1 so it maybe in a slightly different place but TOAD 10 has an option in the settings called "Prompt for reload on activation if timestamp has changed".
It is located under Editor->Open/Save.

Related

Is there a command shortcut to get to a dialog box?

Stata has these dialog boxes to configure commands (e.g., "Summary statistics")
Is there any way to jump directly to these boxes from the command prompt rather than from the cascading menus?
From Chapter 2, The Stata user interface, in the Getting Started with Stata PDF,
You may know the name of a Stata command for which you want to see a dialog, but you might not remember how to navigate to that command in the menu system. Simply type db commandname to launch the dialog for commandname ...
For your example, type db summarize.

Siebel MVG applet taking time to open

There is an Address MVG field on Contact record. While creating new record if I click on this address MVG field, MVG applets takes a lot of time to get open (20 min). Kindly help to fix this. Or let me know the possible fixs or ways to fix it.
Thanks.
The first question that you should answer is: does it happen because of Siebel or the database?
To determine it, you can use a dedicated client with the SQL spool enabled, by adding the /s parameter to the command line in the shortcut. For example: D:\Siebel\Client\BIN\siebel.exe /c D:\Siebel\myConfig.cfg /s D:\Siebel\sql-spool.txt.
That way it will create a file with every SQL sentence being executed. This file will be quite big, so I suggest you to reproduce all the steps except the one causing trouble (open your Siebel client, navigate to the contacts screen, create a new record...), then open the SQL spool file in a text editor and position yourself at the end of the file. After that, click on the MVG field in Siebel, and refresh the spool file, to see what SQL sentences have been added.
The next step would be to launch the same sentences using a DB client (TOAD, Tora, SQL Plus...) and check if any of them takes too long to finish. You can access to the Oracle database administration console while doing so, and review the performance and the execution plan for each sentence, which can help you find what's causing the trouble. Most likely, you'll need to create an index for some columns.
If all the SQL sentences execute in a reasonable time, then you can discard the database and continue looking for problems in your SRF/repository:
Do you have custom code in any business component or applet involved (contacts, addresses, etc.).
Is your MVF field well defined? Is it vanilla or custom made?
Are there user properties which apply to the MVG fields?
Try disabling any customisation you've made and check if it still happens with vanilla Siebel.

SAS Hotkey permanent binding

I know F9 opens the definitions windows in SAS Enhanced Editor but the changes made here seem to last only for the current session.
Is there a way to configure SAS so that the hotkeys stay effective for any subsequent sessions ?
Check the 'Save settings on exit' option is selected in 'preferences' (Menu: Tools -> Options -> Preferences). This option should be on the 'General' tab. I can't be sure this will do the trick though but I expect so.
Go here to read more about it:- http://support.sas.com/documentation/cdl/en/hostwin/63285/HTML/default/viewer.htm#customizing.htm
Typing 'keys' in the command box brings up current assignment of all hotkeys in SAS. You can edit these and save the keys. As you noted, you can only have one copy of SAS up and running to do this (or you have to do it on the version you opened first that locked the .profile).
You can also map the hotkeys to several commands.
For example, I have F8 mapped to do the following:
out;clear;log;clear;wpgm;submit;log;top;
That clears current output (if you still use ods listing), clears the current log, submits contents of program editor, and then positions cursor at top of log window for review.
Cheers,
john

Does ColdFusion Builder have split screen editing like Homesite+, and how do I turn it on?

Does ColdFusion Builder have split screen editing like Homesite+, and how do I turn it on? How do I activate word wrap?
Thanks much!
In order to see 2 files tiled at the same time within ColdFusion Builder 2, follow the steps below:
Open the file
Right click the tab with the file name
Choose Move Editor
You will see the file outlined in black in the interface, it is now attached to your cursor
Click to the right of the Source tab in the open area
This will allow you to view both files at the same time, one above the other
The file you select will be the active file
You can still use the Source and browser tabs, they will reflect whatever file is the active one
Word Wrap:
Go to Window > Preferences > HTML > Editors. Click the Advanced tab and check Enable word wrap. Restart CF Builder.
If you want to compare 2 files, there is an easier way.
Select both files
Right-click one of them
Select 'Compare With --> Each Other
Eclipse will then show you the 2 files side by side, and highlight any differences.
ColdFusion Builder 2016 (AKA 3.1) offers "split view" for both horizontal (CTRL+_) & vertical (CTRL+{), but the hotkeys don't appear to work at the moment. This can be accessed via the "Window | Editor" menu. You can also search the "Quick Access" search box and type "Split" and then choose the toggle options that appear.
In ColdFusion Builder 2016 the keyboard shortcut is: (CTRL+SHIFT+_) AND (CTRL+SHIFT+{)

XFDF pdf opening in same window in IE

I'm working on a project that collects data from the project then displays it using xfdf to populate a .pdf file. Now when I use Chrome or Firefox it opens in a new tab which is exactly what I want, but some of my clients will be using IE, which opens it in the same window and causes some confusion. What area of the code should I be looking at in order to tackle and solve this problem?
I can show code examples, just let me know what I need to show.
Thanks,
Steve
Edit: When I click 'Print Application' button, it asks me to save or open the file. When they click open, it opens in the same tab, I want it to appear in a new tab.
In my experience, the best way to accomplish this is to alter your template linking to the PDF. For example:
Clicky!
This should work in all browsers.