vlad Активист проекта
Зарегистрирован: 09.12.2008 Сообщения: 44
|
Добавлено: Пт Сен 18, 2009 4:43 18.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: Ошибка синтаксиса (запятая) в выражении запроса 'EquipmentID = ExtCtrls.ExtComboBox, Items.Count: 129 and Not(GuaranteeDate is NULL) and GuaranteeDate>DateValue('18.09.2009 8:40:28')'.
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)
|
|
|