can't make "save before compilation" work

Hi,
Is there some magic to making tools>options>ProgramWindow> "save before compilationn" actually work? I've tried it on 2 installs and it does nothing that I can see. With this option turnded on, I edit, compile, close the window, and it prompts me to save, which I can decline. The file is unchanged, but my database has new code. Am I missing something? With this option on, I was expecting the source to be saved when I hit compile.

We'd really, Really, REALLY love to keep our source in sync with our db - in conjuction with disallowing the editing of db source (which works fine). Using Version 7.0.3.1123 and Version 7.1.3.1381

Thanks,
Steve
 
It works okay for me. Note however that it will only affect things if you have opened a file. If you are directly editing a database source, there is no associated file, and it cannot "save before compilation".
 
I tried it with views as .sql files and it does NOT work. It seems to work OK with procedures .prc files. How do I get it to work with views? (Views are not on the list of objects I can assign an extension to.)

Steve
 
This only works for the Program Window. Not for the SQL Window. I have added this to the list of enhancement requests.
 
Thanks very much, Marco. Is there a way I can follow the progress of the enhancement, e.g. what release it gets scheduled for?

Steve
 
Back
Top