直接SQL报表有问题需要修改,但是打开报表,检查数据源时报错:
Object reference not set to an instance of an object.
发生时间: 2017年1月3日 17:27:10
错误来源: Kingdee.BOS.DomainModelDesigner
错误信息: Object reference not set to an instance of an object.
===================================================
调用堆栈:
at Kingdee.BOS.DomainModelDesigner.SQLReport.frmSQLRptWizard.btnNext_Click(Object sender, EventArgs e)
at DevExpress.XtraEditors.BaseButton.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.Utils.Controls.ControlBase.WndProc(Message& m)
at DevExpress.XtraEditors.BaseControl.WndProc(Message& msg)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
错误数据: System.Collections.ListDictionaryInternal
请问如何处理?
另外,请问如果直接用查询语句方式,数据源是不允许保存order by 排序,有什么方法处理?