george Активист проекта
Зарегистрирован: 10.02.2009 Сообщения: 33
|
Добавлено: Вт Сен 15, 2009 14:19 15.09.2009 Заголовок сообщения: 0.79: Ошибка в диалоге ремонтов |
|
|
Оборудование\ Ремонты. Двойной клик по оборудованию, открывается форма и вот такая ошибка -
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Data.OleDb.OleDbException: Syntax error (comma) in query expression 'EquipmentID = ExtCtrls.ExtComboBox, Items.Count: 208 and Not(GuaranteeDate is NULL) and GuaranteeDate>DateValue('15.09.2009 16:16:19')'.
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(OleDbHResult hr)
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
at System.Data.OleDb.OleDbCommand.ExecuteScalar()
at ExtCtrls.DBIO.GetSQLRecordsCount(OleDbConnection& DBConn, String SQLString)
at ExtCtrls.DBIO.GetRecordsCount(OleDbConnection& DBConn, String TableName, String WherePart)
at PrintStoreOld.RepairDlg.InputEquipment_SelectedIndexChanged(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value)
at ExtCtrls.ExtComboBox.ShowValue(Int64 NewValue)
at ExtCtrls.ExtComboBox.SetInitialValue(Int64 NewValue)
at PrintStoreOld.RepairDlg.LoadFields()
at PrintStoreOld.RepairDlg.Dialog_Load(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.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) |
|