ODBC usage?

edited September 2009 in FastReport .NET
I've wrote this code, and it seems to work:-
    OdbcConnection myConnection = new OdbcConnection(GlobalVariables.ConnectionString);
            environmentSettings1.DesignerSettings.ApplicationConnection = myConnection;
            Report myReport = new Report();
            myReport.Design();

But there is some problems with Data-> Add Data Source -> Add SQL Query -> Design Query

First:
the tabs at the bottom:-
"Select" does not show any text at all for "name"
"Joins" does not show any text at all for "name", "Editor", or "Delete" (just empty row for each join)
"Group" Tab seems to do nothing.

Second:-
It's making crazy SQL:-
I added 2 tables - Users and Requests...
SELECT U.UserID
FROM `Request` R , `Request` R
WHERE U.UserID = R.CreatedUserID

It's added the request table twice and not added the User Table, it happens if you drag the join one way (Users-> Requests), if you drag it the other way (Requests-> Users) it's ok

Any idea what's wrong with it?

Thanks,

- Anthony

Comments

  • edited 6:08AM
    Hello,

    1) it was fixed yesterday, please download the latest build.
    2) I've added this to buglist. I will let you know when the fix will be available.
  • edited September 2009
    I've downloaded 1.2.20 and now, using the same code as above results in (same with past version):-

    Data-> Choose Report Data = Empty

    Data -> Add Data Source crashes like this:

    See the end of this message for details on invoking 
    just-in-time (JIT) debugging instead of this dialog box.
    
    ************** Exception Text **************
    System.ArgumentNullException: Value cannot be null.
    Parameter name: type
       at System.Activator.CreateInstance(Type type, Boolean nonPublic)
       at System.Activator.CreateInstance(Type type)
       at Lw5swwfq19Z0ODrjjZ5.gmkqvyflcq3q4kWF7NY.iQahWm9hY()
       at Lw5swwfq19Z0ODrjjZ5.gmkqvyflcq3q4kWF7NY..ctor(Report report)
       at FastReport.Design.DataCommand.InvokeAddDataSource(Object sender, EventArgs e)
       at DevComponents.DotNetBar.BaseItem.RaiseClick(eEventSource source)
       at DevComponents.DotNetBar.BaseItem.InternalMouseUp(MouseEventArgs objArg)
       at DevComponents.DotNetBar.PopupItem.InternalMouseUp(MouseEventArgs objArg)
       at DevComponents.DotNetBar.ButtonItem.InternalMouseUp(MouseEventArgs objArg)
       at DevComponents.DotNetBar.MenuPanel.OnMouseUp(MouseEventArgs e)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at DevComponents.DotNetBar.MenuPanel.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.RunDialog(Form form)
       at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
       at System.Windows.Forms.Form.ShowDialog()
       at FastReport.Report.uKXbnIp4I(Boolean , Form )
       at FastReport.Report.Design(Boolean modal)
       at FastReport.Report.Design()
       at Resolve.ReportForm.ultraButton1_Click(Object sender, EventArgs e) in E:\Visual Studio\Resolve\Resolve\ReportForm.cs:line 26
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at Infragistics.Win.UltraControlBase.OnClick(EventArgs e)
       at Infragistics.Win.Misc.UltraButtonBase.OnClick(EventArgs e)
       at Infragistics.Win.Misc.UltraButton.OnMouseUp(MouseEventArgs e)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
       at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
       at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.RunDialog(Form form)
       at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
       at System.Windows.Forms.Form.ShowDialog()
       at Resolve.MainForm.MainToolbar_ToolClick(Object sender, ToolClickEventArgs e) in E:\Visual Studio\Resolve\Resolve\MainForm.cs:line 136
       at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.OnToolClick(ToolClickEventArgs e)
       at Infragistics.Win.UltraWinToolbars.UltraToolbarsManager.FireEvent(ToolbarEventIds id, EventArgs e)
       at Infragistics.Win.UltraWinToolbars.ToolBase.OnToolClick()
       at Infragistics.Win.UltraWinToolbars.ButtonToolUIElement.DoClickProcessing(MouseEventArgs e)
       at Infragistics.Win.UltraWinToolbars.ButtonToolUIElement.OnMouseUp(MouseEventArgs e)
       at Infragistics.Win.ControlUIElementBase.ProcessMouseUpHelper(Object sender, MouseEventArgs e)
       at Infragistics.Win.ControlUIElementBase.ProcessMouseUp(Object sender, MouseEventArgs e)
       at Infragistics.Win.Utilities.ProcessEvent(Control control, ProcessEvent eventToProcess, EventArgs e)
       at Infragistics.Win.UltraControlBase.OnMouseUp(MouseEventArgs e)
       at Infragistics.Win.UltraWinToolbars.UltraToolbarsDockArea.OnMouseUp(MouseEventArgs e)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    
    
    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
    ----------------------------------------
    Microsoft.VisualStudio.HostingProcess.Utilities
        Assembly Version: 9.0.0.0
        Win32 Version: 9.0.21022.8
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualStudio.HostingProcess.Utilities/9.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.HostingProcess.Utilities.dll
    ----------------------------------------
    System.Windows.Forms
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------
    Microsoft.VisualStudio.HostingProcess.Utilities.Sync
        Assembly Version: 9.0.0.0
        Win32 Version: 9.0.21022.8
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualStudio.HostingProcess.Utilities.Sync/9.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.HostingProcess.Utilities.Sync.dll
    ----------------------------------------
    Microsoft.VisualStudio.Debugger.Runtime
        Assembly Version: 9.0.0.0
        Win32 Version: 9.0.21022.8
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualStudio.Debugger.Runtime/9.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualStudio.Debugger.Runtime.dll
    ----------------------------------------
    vshost32
        Assembly Version: 9.0.0.0
        Win32 Version: 9.0.21022.8
        CodeBase: file:///E:/Visual%20Studio/Resolve/Resolve/bin/x86/Release/Resolve.vshost.exe
    ----------------------------------------
    CrystalDecisions.CrystalReports.Engine
        Assembly Version: 10.5.3700.0
        Win32 Version: 10.5.0.1943
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.CrystalReports.Engine/10.5.3700.0__692fbea5521e1304/CrystalDecisions.CrystalReports.Engine.dll
    ----------------------------------------
    CrystalDecisions.Enterprise.Framework
        Assembly Version: 10.5.3700.0
        Win32 Version: 10.5.0.268
        CodeBase: file:///C:/Windows/assembly/GAC/CrystalDecisions.Enterprise.Framework/10.5.3700.0__692fbea5521e1304/CrystalDecisions.Enterprise.Framework.dll
    ----------------------------------------
    CrystalDecisions.Enterprise.InfoStore
        Assembly Version: 10.5.3700.0
        Win32 Version: 10.5.0.268
        CodeBase: file:///C:/Windows/assembly/GAC/CrystalDecisions.Enterprise.InfoStore/10.5.3700.0__692fbea5521e1304/CrystalDecisions.Enterprise.InfoStore.dll
    ----------------------------------------
    CrystalDecisions.ReportSource
        Assembly Version: 10.5.3700.0
        Win32 Version: 10.5.0.1943
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.ReportSource/10.5.3700.0__692fbea5521e1304/CrystalDecisions.ReportSource.dll
    ----------------------------------------
    CrystalDecisions.Shared
        Assembly Version: 10.5.3700.0
        Win32 Version: 10.5.0.1943
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/CrystalDecisions.Shared/10.5.3700.0__692fbea5521e1304/CrystalDecisions.Shared.dll
    ----------------------------------------
    Microsoft.VisualBasic
        Assembly Version: 8.0.0.0
        Win32 Version: 8.0.50727.4016 (NetFxQFE.050727-4000)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.VisualBasic/8.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
    ----------------------------------------
    System.Core
        Assembly Version: 3.5.0.0
        Win32 Version: 3.5.30729.1 built by: SP
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.dll
    ----------------------------------------
    System.Design
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
    ----------------------------------------
    System.Runtime.Serialization.Formatters.Soap
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Runtime.Serialization.Formatters.Soap/2.0.0.0__b03f5f7f11d50a3a/System.Runtime.Serialization.Formatters.Soap.dll
    ----------------------------------------
    System.Web
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
        CodeBase: file:///C:/Windows/assembly/GAC_32/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
    ----------------------------------------
    System.Web.Services
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
    ----------------------------------------
    System.Xml.Linq
        Assembly Version: 3.5.0.0
        Win32 Version: 3.5.30729.1 built by: SP
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml.Linq/3.5.0.0__b77a5c561934e089/System.Xml.Linq.dll
    ----------------------------------------
    System.Data.DataSetExtensions
        Assembly Version: 3.5.0.0
        Win32 Version: 3.5.30729.1 built by: SP
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Data.DataSetExtensions/3.5.0.0__b77a5c561934e089/System.Data.DataSetExtensions.dll
    ----------------------------------------
    System.Data
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
        CodeBase: file:///C:/Windows/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
    ----------------------------------------
    System.Deployment
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
    ----------------------------------------
    System.Xml
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
    ----------------------------------------
    Infragistics2.Shared.v9.1
        Assembly Version: 9.1.20091.2023
        Win32 Version: 9.1.20091.2023
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Infragistics2.Shared.v9.1/9.1.20091.2023__7dd5c3163f2cd0cb/Infragistics2.Shared.v9.1.dll
    ----------------------------------------
    Infragistics2.Win.Misc.v9.1
        Assembly Version: 9.1.20091.2023
        Win32 Version: 9.1.20091.2023
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Infragistics2.Win.Misc.v9.1/9.1.20091.2023__7dd5c3163f2cd0cb/Infragistics2.Win.Misc.v9.1.dll
    ----------------------------------------
    Infragistics2.Win.UltraWinEditors.v9.1
        Assembly Version: 9.1.20091.2023
        Win32 Version: 9.1.20091.2023
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Infragistics2.Win.UltraWinEditors.v9.1/9.1.20091.2023__7dd5c3163f2cd0cb/Infragistics2.Win.UltraWinEditors.v9.1.dll
    ----------------------------------------
    Infragistics2.Win.UltraWinGrid.v9.1
        Assembly Version: 9.1.20091.2023
        Win32 Version: 9.1.20091.2023
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Infragistics2.Win.UltraWinGrid.v9.1/9.1.20091.2023__7dd5c3163f2cd0cb/Infragistics2.Win.UltraWinGrid.v9.1.dll
    ----------------------------------------
    Infragistics2.Win.UltraWinStatusBar.v9.1
        Assembly Version: 9.1.20091.2023
        Win32 Version: 9.1.20091.2023
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Infragistics2.Win.UltraWinStatusBar.v9.1/9.1.20091.2023__7dd5c3163f2cd0cb/Infragistics2.Win.UltraWinStatusBar.v9.1.dll
    ----------------------------------------
    Infragistics2.Win.UltraWinTabControl.v9.1
        Assembly Version: 9.1.20091.2023
        Win32 Version: 9.1.20091.2023
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Infragistics2.Win.UltraWinTabControl.v9.1/9.1.20091.2023__7dd5c3163f2cd0cb/Infragistics2.Win.UltraWinTabControl.v9.1.dll
    ----------------------------------------
    Infragistics2.Win.UltraWinToolbars.v9.1
        Assembly Version: 9.1.20091.2023
        Win32 Version: 9.1.20091.2023
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Infragistics2.Win.UltraWinToolbars.v9.1/9.1.20091.2023__7dd5c3163f2cd0cb/Infragistics2.Win.UltraWinToolbars.v9.1.dll
    ----------------------------------------
    Infragistics2.Win.v9.1
        Assembly Version: 9.1.20091.2023
        Win32 Version: 9.1.20091.2023
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Infragistics2.Win.v9.1/9.1.20091.2023__7dd5c3163f2cd0cb/Infragistics2.Win.v9.1.dll
    ----------------------------------------
    Resolve
        Assembly Version: 0.1.0.0
        Win32 Version: 1.0.0.0
        CodeBase: file:///E:/Visual%20Studio/Resolve/Resolve/bin/x86/Release/Resolve.EXE
    ----------------------------------------
    Accessibility
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    ----------------------------------------
    System.Transactions
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
        CodeBase: file:///C:/Windows/assembly/GAC_32/System.Transactions/2.0.0.0__b77a5c561934e089/System.Transactions.dll
    ----------------------------------------
    System.EnterpriseServices
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
        CodeBase: file:///C:/Windows/assembly/GAC_32/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
    ----------------------------------------
    System.Configuration
        Assembly Version: 2.0.0.0
        Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
        CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    ----------------------------------------
    FastReport
        Assembly Version: 1.2.20.0
        Win32 Version: 1.2.20.0
        CodeBase: file:///E:/Visual%20Studio/Resolve/Resolve/bin/x86/Release/FastReport.DLL
    ----------------------------------------
    FastReport.Bars
        Assembly Version: 1.2.20.0
        Win32 Version: 1.2.20.0
        CodeBase: file:///E:/Visual%20Studio/Resolve/Resolve/bin/x86/Release/FastReport.Bars.DLL
    ----------------------------------------
    FastReport.Editor
        Assembly Version: 1.2.20.0
        Win32 Version: 1.2.20.0
        CodeBase: file:///E:/Visual%20Studio/Resolve/Resolve/bin/x86/Release/FastReport.Editor.DLL
    ----------------------------------------
    
    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    
    For example:
    
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
    

    Thanks,

    Anthony
  • edited 6:08AM
    Ohh, it happens if:-

    1) Run Application
    2) Click Choose Data -> Empty
    3) Click Ok
    4) Click Add Data Source - > Crash

    but does not happen if you:-
    1) Run Application
    2) Click Add Data Source

    Once you've done Add Data Source it works ok until you restart the application, then if you choose data first it will crash when add data source is clicked.

    - Anthony
  • edited 6:08AM
    Sorry, I can't reproduce the crash in the Demo.exe using the following code:
          OdbcConnection myConnection = new OdbcConnection("Dsn=...");// replace ... with some dsn
          Config.DesignerSettings.ApplicationConnection = myConnection;
          Report myReport = new Report();
          myReport.Design();
    
  • edited 6:08AM
    Ok, found how to reproduce it. I've placed the code
    OdbcConnection myConnection = new OdbcConnection("Dsn=...");// replace ... with some dsn
    Config.DesignerSettings.ApplicationConnection = myConnection;
    

    in the form's constructor, so it is executed before the report is created. To fix this error, add the following code before you set the connection:
    // to be sure that add-ins are initialized properly
    using (Report dummyReport = new Report());
    
    // now set the connection
    OdbcConnection myConnection = new OdbcConnection("Dsn=...");// replace ... with some dsn
    Config.DesignerSettings.ApplicationConnection = myConnection;
    

    I will fix the code in the next build, so this trick will not be necessary.
  • edited 6:08AM
    in the query editor, the join editor just shows:

    Tables:
    "label1" [Blank Dropdown box] "label2"

    Conditions:
    "label6" [Blank Dropdown box] "label5"

    I assume this is where I'm supposed to be setting left joins and such up?

    Also, if you delete a join (by deleting the row on the join tab) it doesn't get removed from the SQL.

    And if someone designs a query visually, then edits the SQL, then goes back to the design tab, their changes are lost, there should be a warning before this happens, or even better, their changed code could be parsed and reflected in the design view.

    - Anthony
  • edited September 2009
    Hello again,

    Do you have an estimate of the time to fix the visual query builder? The reason I ask is that my users are moving from Microsoft Access, and the query builder will be familiar to them, they will be disapointed if my answer is "learn SQL" [img]style_emoticons/<#EMO_DIR#>/sad.gif" style="vertical-align:middle" emoid=":(" border="0" alt="sad.gif" /> which may mean I need to buy another report software. It's very important for my end users to be able to use the designer visually. Many thanks! - Anthony[/img]
  • edited 6:08AM
    Hello,

    Its author is in business trip now; he will be back in the next monday. Right now I can fix the "label1" [Blank Dropdown box] "label2" issue.
  • edited 6:08AM
    Ok,

    Thanks for letting me know.

    If you would fix that join dialog, hopefully the users could then make the more simple reports without too much difficulty, and then when your collegue gets back from the business trip then they can fix the rest of the query builder?

    Many thanks,

    - Anthony

  • edited 6:08AM
    How is the progress with correcting the SQL generated with the query builder?
    wrote:
    It's making crazy SQL:-
    I added 2 tables - Users and Requests...

    CODE
    SELECT U.UserID
    FROM `Request` R , `Request` R
    WHERE U.UserID = R.CreatedUserID

    It's added the request table twice and not added the User Table, it happens if you drag the join one way (Users-> Requests), if you drag it the other way (Requests-> Users) it's ok

    Any idea what's wrong with it?
  • edited 6:08AM
    The query builder developer will come back today and fix it asap. I will let you know.
  • edited 6:08AM
    Hi Alex,

    Any progress on this yet?

    - Anthony
  • edited 6:08AM
    Hello,

    This bug is fixed, you may download the current build.

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.