diff --git a/o2web/source/x_component_query_StatementDesigner/Statement.js b/o2web/source/x_component_query_StatementDesigner/Statement.js index 91c475635c720235f22046688a13f9da394618c1..cdb4590acec9b05917b2626d1a641e94c5ea9e31 100644 --- a/o2web/source/x_component_query_StatementDesigner/Statement.js +++ b/o2web/source/x_component_query_StatementDesigner/Statement.js @@ -303,7 +303,7 @@ MWF.xApplication.query.StatementDesigner.Statement = new Class({ var height = size.y; - var designAreaHeight = this.designerAreaPercent*height; + var designAreaHeight = this.designerAreaPercent*height - 52; // var runAreaHeight = height-designAreaHeight; this.designerArea.setStyle("height", ""+designAreaHeight+"px"); @@ -410,7 +410,7 @@ MWF.xApplication.query.StatementDesigner.Statement = new Class({ this.editor.editor.setValue("DELETE " + table + " o WHERE "); break; default: - this.editor.editor.setValue("SELECT * FROM " + table + " o"); + this.editor.editor.setValue("SELECT o FROM " + table + " o"); } } this.json.data = this.editor.editor.getValue(); @@ -475,7 +475,7 @@ MWF.xApplication.query.StatementDesigner.Statement = new Class({ this.editor.editor.setValue("DELETE " + table + " o WHERE "); break; default: - this.editor.editor.setValue("SELECT * FROM " + table + " o"); + this.editor.editor.setValue("SELECT o FROM " + table + " o"); } } },